[libvirt] [PATCH] qemu: Fix failure path in disk hotplug

Eric Blake eblake at redhat.com
Thu Sep 20 20:48:50 UTC 2012


On 09/20/2012 02:35 PM, Jiri Denemark wrote:
> Disk hotplug is a two phase action: qemuMonitorAddDrive followed by
> qemuMonitorAddDevice. When the first part succeeds but the second one
> fails, we need to rollback the drive addition.
> ---
>  src/qemu/qemu_hotplug.c | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120920/461b96fa/attachment-0001.sig>


More information about the libvir-list mailing list