1. 25 Sep, 2012 2 commits
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'bonzini/scsi-next' into staging · d352210a
      Anthony Liguori authored
      * bonzini/scsi-next:
        SCSI: Standard INQUIRY data should report HiSup flag as set.
        scsi-disk: use scsi_data_cdb_length
        scsi: introduce scsi_cdb_length and scsi_data_cdb_length
        scsi-disk: fix check for out-of-range LBA
        scsi-disk: introduce check_lba_range
        iSCSI: We dont need to explicitely call qemu_notify_event() any more
        iSCSI: We need to support SG_IO also from iscsi_ioctl()
      d352210a
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'bonzini/nbd-next' into staging · 09d0726c
      Anthony Liguori authored
      * bonzini/nbd-next:
        nbd: add nbd_export_get_blockdev
        nbd: negotiate with named exports
        nbd: register named exports
        qemu-nbd: rewrite termination conditions to use a state machine
        nbd: add notification for closing an NBDExport
        nbd: track clients into NBDExport
        nbd: add reference counting to NBDExport
        nbd: do not leak nbd_trip coroutines when a connection is torn down
        nbd: make refcount interface public
        nbd: do not close BlockDriverState in nbd_export_close
        nbd: pass NBDClient to nbd_send_negotiate
        nbd: add more constants
      09d0726c
  2. 23 Sep, 2012 1 commit
    • Stefan Weil's avatar
      w32: Add implementation of gmtime_r, localtime_r · d3e8f957
      Stefan Weil authored
      
      
      Those functions are missing in MinGW.
      
      Some versions of MinGW-w64 include defines for gmtime_r and localtime_r.
      Older versions of these macros are buggy (they return a pointer to a
      static variable), therefore we don't want them. Newer versions are
      similar to the code used here, but without the memset.
      
      The implementation which is used here is not strictly reentrant,
      but sufficiently good for QEMU on w32 or w64.
      
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      [blauwirbel@gmail.com: added comment about locking]
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      d3e8f957
  3. 22 Sep, 2012 37 commits