qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Decouple block device removal from device removal
@ 2010-10-18 22:17 Ryan Harper
  2010-10-18 22:17 ` [Qemu-devel] [PATCH 1/2] Add drive_get_by_id Ryan Harper
  2010-10-18 22:17 ` [Qemu-devel] [PATCH 2/2] Fix Block Hotplug race with drive_unplug() Ryan Harper
  0 siblings, 2 replies; 5+ messages in thread
From: Ryan Harper @ 2010-10-18 22:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Ryan Harper

This patch series decouples the detachment of a block device from the removal
of the backing pci-device.  Removal of a hotplugged pci device requires the
guest to respond before qemu tears down the block device. In some cases, the
guest may not respond leaving the guest with continued access to the block
device.  

The new monitor command, drive_unplug, will revoke a guests access to the
block device independently of the removal of the pci device.

The first patch adds a new drive find method, the second patch implements the
monitor command and block layer changes.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-19 10:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-18 22:17 [Qemu-devel] [PATCH 0/2] Decouple block device removal from device removal Ryan Harper
2010-10-18 22:17 ` [Qemu-devel] [PATCH 1/2] Add drive_get_by_id Ryan Harper
2010-10-19 10:29   ` Stefan Hajnoczi
2010-10-18 22:17 ` [Qemu-devel] [PATCH 2/2] Fix Block Hotplug race with drive_unplug() Ryan Harper
2010-10-19 10:45   ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).