]> git.ipfire.org Git - thirdparty/libvirt.git/commit
do not ignore qemuMonitorAddDrive failure; make uses identical
authorJim Meyering <meyering@redhat.com>
Tue, 18 May 2010 14:02:12 +0000 (16:02 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 May 2010 17:23:33 +0000 (19:23 +0200)
commit49ed0a2e1b1ff65184d405734b02da6b0a9ecfa0
tree13a97f6dc24738f5c11e63a2c14818b2d21fb6d2
parentd564fcb3e1439f21f5c951061e483bb9a08c2b69
do not ignore qemuMonitorAddDrive failure; make uses identical

There were three very similar uses of qemuMonitorAddDrive.
This change makes the three 17-line sequences identical.
* src/qemu/qemu_driver.c (qemudDomainAttachPciDiskDevice): Detect
failure.  Add VIR_WARN and braces.
(qemudDomainAttachSCSIDisk): Add VIR_WARN and braces.
(qemudDomainAttachUsbMassstorageDevice): Likewise.
src/qemu/qemu_driver.c