1. 06 12月, 2011 1 次提交
  2. 05 12月, 2011 1 次提交
  3. 19 5月, 2011 1 次提交
    • M
      blockdev: Store -drive option media in DriveInfo · 95b5edcd
      Markus Armbruster 提交于
      DriveInfo is closely tied to -drive, and like -drive, it mixes
      information about host and guest part of the block device.  Unlike
      DriveInfo, BlockDriverState should be about the host part only.
      
      One of the remaining guest bits there is the "type hint".  -drive
      option media sets it, and qdevs "ide-drive", "scsi-disk" and non-qdev
      IF_XEN devices check it to pick HD vs. CD.
      
      Communicate -drive option media via new DriveInfo member media_cd
      instead.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      95b5edcd
  4. 07 2月, 2011 1 次提交
  5. 31 1月, 2011 8 次提交
  6. 17 12月, 2010 1 次提交
  7. 25 11月, 2010 2 次提交
    • H
      scsi: Increase the number of possible devices · 622b520f
      Hannes Reinecke 提交于
      The SCSI parallel interface has a limit of 8 devices, but
      not the SCSI stack in general. So we should be removing the
      hard-coded limit and use MAX_SCSI_DEVS instead.
      And we only need to scan those devices which are allocated
      by the bus.
      Signed-off-by: NHannes Reinecke <hare@suse.de>
      Acked-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      622b520f
    • R
      Implement drive_del to decouple block removal from device removal · 9063f814
      Ryan Harper 提交于
      Currently device hotplug removal code is tied to device removal via
      ACPI.  All pci devices that are removable via device_del() require the
      guest to respond to the request.  In some cases the guest may not
      respond leaving the device still accessible to the guest.  The management
      layer doesn't currently have a reliable way to revoke access to host
      resource in the presence of an uncooperative guest.
      
      This patch implements a new monitor command, drive_del, which
      provides an explicit command to revoke access to a host block device.
      
      drive_del first quiesces the block device (qemu_aio_flush;
      bdrv_flush() and bdrv_close()).  This prevents further IO from being
      submitted against the host device.  Finally, drive_del cleans up
      pointers between the drive object (host resource) and the device
      object (guest resource).
      Signed-off-by: NRyan Harper <ryanh@us.ibm.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      9063f814
  8. 03 10月, 2010 1 次提交
  9. 24 8月, 2010 1 次提交
    • B
      Rearrange block headers · 2446333c
      Blue Swirl 提交于
      Changing block.h or blockdev.h resulted in recompiling most objects.
      
      Move DriveInfo typedef and BlockInterfaceType enum definitions
      to qemu-common.h and rearrange blockdev.h use to decrease churn.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      2446333c
  10. 02 7月, 2010 4 次提交
  11. 15 6月, 2010 2 次提交
  12. 04 6月, 2010 1 次提交