1. 01 6月, 2013 2 次提交
  2. 31 5月, 2013 1 次提交
  3. 26 5月, 2013 1 次提交
  4. 15 5月, 2013 2 次提交
    • S
      w32: Fix configure test for -march=i486 · 1405b629
      Stefan Weil 提交于
      The latest version of MinGW needs a test for __sync_val_compare_and_swap
      to fix a missing symbol linker error.
      Reported-by: NIgor Mitsyanko <i.mitsyanko@gmail.com>
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Message-id: 1368301619-32097-2-git-send-email-sw@weilnetz.de
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      1405b629
    • P
      configure: Detect uuid on MacOSX (fixes compile failure) · 2d16c8e9
      Peter Maydell 提交于
      Commit 7791dba3 broke compilation on MacOSX, because it introduced
      a new include of util.h. On MacOSX this includes pwd.h which in turn
      includes the system uuid/uuid.h, which causes a compile failure if
      QEMU was configured without CONFIG_UUID due to a conflict between
      the system header and our fallback versions:
        block/vdi.c:124:20: error: static declaration of 'uuid_generate'
        follows non-static declaration
        static inline void uuid_generate(uuid_t out)
                           ^
        /usr/include/uuid/uuid.h:63:6: note: previous declaration is here
        void uuid_generate(uuid_t out);
             ^
      
      Fix this breakage by improving configure's check for uuid to work on
      MacOSX (where there is no need to link in a separate libuuid).
      
      Note that if the user explicitly runs configure with '--disable-uuid'
      on MacOSX then QEMU will fail to compile.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1368563799-22755-1-git-send-email-peter.maydell@linaro.org
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      2d16c8e9
  5. 13 5月, 2013 1 次提交
  6. 06 5月, 2013 2 次提交
  7. 03 5月, 2013 1 次提交
    • E
      trace: Add ftrace tracing backend · 781e9545
      Eiichi Tsukata 提交于
      This patch adds a ftrace tracing backend which sends trace event to
      ftrace marker file. You can effectively compare qemu trace data and
      kernel(especially, kvm.ko when using KVM) trace data.
      The ftrace backend is restricted to Linux only.
      
      To try out the ftrace backend:
      
       $ ./configure --trace-backend=ftrace
       $ make
      
      if you use KVM, enable kvm events in ftrace:
      
       # sudo echo 1 > /sys/kernel/debug/tracing/events/kvm/enable
      
      After running qemu by root user, you can get the trace:
      
       # cat /sys/kernel/debug/tracing/trace
      Signed-off-by: NEiichi Tsukata <eiichi.tsukata.xh@hitachi.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      781e9545
  8. 02 5月, 2013 1 次提交
  9. 30 4月, 2013 4 次提交
  10. 27 4月, 2013 2 次提交
  11. 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
  12. 24 4月, 2013 1 次提交
  13. 23 4月, 2013 1 次提交
  14. 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
  15. 18 4月, 2013 12 次提交
  16. 17 4月, 2013 2 次提交
  17. 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
  18. 15 4月, 2013 3 次提交