1. 20 10月, 2017 9 次提交
  2. 06 10月, 2017 5 次提交
  3. 20 9月, 2017 6 次提交
  4. 01 9月, 2017 1 次提交
    • I
      s390x: replace cpu_s390x_init() with cpu_generic_init() · 6ad76dfd
      Igor Mammedov 提交于
      cpu_s390x_init() is used only *-user targets indirectly
      via cpu_init() macro and has a hack to assign ids to created
      cpus (I'm not sure if 'id' really matters to *-user emulation).
      
      So to on safe side, instead of having custom wrapper to do numbering
      replace it with cpu_generic_init() and use S390CPUClass::next_cpu_id
      which could serve the same purpose as static variable and move cpu->id
      initialization to s390_cpu_initfn for CONFIG_USER_ONLY use-case.
      
      PS:
      ifdef is ugly but it allows us to hide s390x detail that isn't
      set by *-user targets and reuse generic cpu creation utility
      for btoh machine and user emulation.
      Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
      Acked-by: NCornelia Huck <cohuck@redhat.com>
      Message-Id: <1504185578-80843-1-git-send-email-imammedo@redhat.com>
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      6ad76dfd
  5. 31 8月, 2017 14 次提交
  6. 25 7月, 2017 2 次提交
  7. 14 7月, 2017 2 次提交
  8. 06 7月, 2017 1 次提交
    • Q
      virtio-scsi-ccw: use ioeventfd even when KVM is disabled · cda3c19f
      QingFeng Hao 提交于
      This patch is based on a similar patch from Stefan Hajnoczi -
      commit c324fd0a ("virtio-pci: use ioeventfd even when KVM is disabled")
      
      Do not check kvm_eventfds_enabled() when KVM is disabled since it
      always returns 0.  Since commit 8c56c1a5
      ("memory: emulate ioeventfd") it has been possible to use ioeventfds in
      qtest or TCG mode.
      
      This patch makes -device virtio-scsi-ccw,iothread=iothread0 work even
      when KVM is disabled.
      Currently we don't have an equivalent to "memory: emulate ioeventfd"
      for ccw yet, but that this doesn't hurt and qemu-iotests 068 can pass with
      skipping iothread arguments.
      
      I have tested that virtio-scsi-ccw works under tcg both with and without
      iothread.
      
      This patch fixes qemu-iotests 068, which was accidentally merged early
      despite the dependency on ioeventfd.
      Signed-off-by: NQingFeng Hao <haoqf@linux.vnet.ibm.com>
      Reviewed-by: NCornelia Huck <cohuck@redhat.com>
      Message-Id: <20170704132350.11874-2-haoqf@linux.vnet.ibm.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      cda3c19f