1. 27 4月, 2013 1 次提交
  2. 26 4月, 2013 1 次提交
    • R
      block/ssh: Require libssh2 >= 1.2.8. · 4fc16838
      Richard W.M. Jones 提交于
      libssh2 >= 1.2.8 is required to enable this block device (because
      that version introduced the libssh2_session_handshake call).
      
      Change the test to use pkg-config exclusively.  If the user requests
      --enable-libssh2 and the minimum version is not available, then the
      following error is displayed:
      
        $ ./configure --enable-libssh2
      
        ERROR: libssh2 >= 1.2.8 required for --enable-libssh2
      
      If --enable-libssh2 is not specified, then the feature is silently
      disabled if sufficiently new libssh2 is not available.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4fc16838
  3. 24 4月, 2013 1 次提交
  4. 23 4月, 2013 1 次提交
  5. 19 4月, 2013 1 次提交
    • N
      vhost-scsi: new device supporting the tcm_vhost Linux kernel module · 5e9be92d
      Nicholas Bellinger 提交于
      The WWPN specified in configfs is passed to "-device vhost-scsi-pci".
      The tgpt field of the SET_ENDPOINT ioctl is obsolete now, so it is not
      available from the QEMU command-line.  Instead, I hardcode it to zero.
      
      Changes in Patch-v2:
         - Add vhost_scsi_get_features() in order to determine feature bits
           supports by host kernel (mst + nab)
         - Re-enable usage of DEFINE_VIRTIO_COMMON_FEATURES, and allow
           EVENT_IDX to be disabled by host in vhost_scsi_get_features()
         - Drop unused hotplug bit in DEFINE_VHOST_SCSI_PROPERTIES
      
      Changes in Patch-v1:
         - Set event_idx=off by default (nab, thanks asias)
         - Disable hotplug feature bit for v3.9 tcm_vhost kernel code, need to
           re-enable in v3.10 (nab)
         - Update to latest qemu.git/master HEAD
      
      Changes in WIP-V3:
         - Drop ioeventfd vhost_scsi_properties (asias, thanks stefanha)
         - Add CONFIG_VHOST_SCSI (asias, thanks stefanha)
         - Add hotplug feature bit
      
      Changes in WIP-V2:
         - Add backend guest masking support (nab)
         - Bump ABI_VERSION to 1 (nab)
         - Set up set_guest_notifiers (asias)
         - Set up vs->dev.vq_index (asias)
         - Drop vs->vs.vdev.{set,clear}_vhost_endpoint (asias)
         - Drop VIRTIO_CONFIG_S_DRIVER check in vhost_scsi_set_status (asias)
      
      Howto:
         Use the latest seabios, at least commit b44a7be17b
         git clone git://git.seabios.org/seabios.git
         make
         cp out/bios.bin /usr/share/qemu/bios.bin
         qemu -device vhost-scsi-pci,wwpn=naa.6001405bd4e8476d,event_idx=off
      ...
      
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      Signed-off-by: NAsias He <asias@redhat.com>
      [ Rebase on top of VirtIOSCSICommon patch, fix bugs in feature
        negotiation and irqfd masking - Paolo ]
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      5e9be92d
  6. 18 4月, 2013 12 次提交
  7. 17 4月, 2013 2 次提交
  8. 16 4月, 2013 2 次提交
    • G
      use libusb for usb-host · 2b2325ff
      Gerd Hoffmann 提交于
      Reimplement usb-host on top of libusb.
      Reasons to do this:
      
       (1) Largely rewritten from scratch, nice opportunity to kill historical
           cruft.
       (2) Offload usbfs handling to libusb.
       (3) Have a single portable code base instead of bsd + linux variants.
       (4) Bring usb-host support to any platform supported by libusbx.
      
      For now this goes side-by-side to the existing code.  That is only to
      simplify regression testing though, at the end of the day I want remove
      the old code and support libusb exclusively.  Merge early in 1.5 cycle,
      remove the old code after 1.5 release or something like this.
      
      Thanks to qdev the old and new code can coexist nicely on linux.  Just
      use "-device usb-host-linux" to use the old linux driver instead of the
      libusb one (which takes over the "usb-host" name).
      
      The bsd driver isn't qdev'ified so it isn't that easy for bsd.
      I didn't bother making it runtime switchable, so you have to rebuild
      qemu with --disable-libusb to get back the old code.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      2b2325ff
    • R
      tcg-ppc64: Use getauxval for ISA detection · 1e6e9aca
      Richard Henderson 提交于
      Glibc 2.16 includes an easy way to get feature bits previously
      buried in /proc or the program startup auxiliary vector.  Use it.
      Reviewed-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      1e6e9aca
  9. 15 4月, 2013 4 次提交
  10. 12 4月, 2013 1 次提交
    • P
      cpu-exec: Allow "-d exec" in non-debug builds (drop CONFIG_DEBUG_EXEC) · c30d1aea
      Peter Maydell 提交于
      The CONFIG_DEBUG_EXEC define compiles out a single qemu_log_mask()
      call, which is a pretty trivial cost even for something in the main
      cpu_exec() loop.  Having this be conditionally defined means that
      '-d exec' on a non-debug build will silently do nothing.  Drop the
      define and the configure machinery that sets it, in favour of just
      always allowing this log option to be enabled at runtime.  As a
      concession to the mainloopiness, we use qemu_loglevel_mask()+qemu_log()
      rather than qemu_log_mask() to avoid the function call overhead.
      
      Note that DEBUG_DISAS is always defined, so removing the
      '|| defined(CONFIG_DEBUG_EXEC)' from those conditionals makes
      no behavioural change for that logging.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Acked-by: NEdgar E. Iglesias <edgar.iglesias@gmail.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      c30d1aea
  11. 09 4月, 2013 1 次提交
  12. 08 4月, 2013 2 次提交
  13. 03 4月, 2013 1 次提交
  14. 30 3月, 2013 1 次提交
  15. 28 3月, 2013 1 次提交
  16. 23 3月, 2013 1 次提交
  17. 22 3月, 2013 1 次提交
  18. 19 3月, 2013 2 次提交
  19. 13 3月, 2013 1 次提交
  20. 11 3月, 2013 1 次提交
  21. 08 3月, 2013 2 次提交