]> git.ipfire.org Git - thirdparty/libvirt.git/commit
check more error info about whether drive_add failed
authorWen Congyang <wency@cn.fujitsu.com>
Thu, 17 Feb 2011 03:32:16 +0000 (11:32 +0800)
committerEric Blake <eblake@redhat.com>
Thu, 17 Feb 2011 21:10:26 +0000 (14:10 -0700)
commit34c13d0d1ade3c749ce8db0aba8240fc26d6e4e1
tree2c9be63ffaaf881de2803f0aa37be1e9b367700b
parentbb904f45ffd336fba9f86d5700b04c85de4bbd8b
check more error info about whether drive_add failed

When we attach a disk, but we specify a wrong format of disk image,
qemu monitor command drive_add will fail, but libvirt does not detect
this error.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
src/qemu/qemu_monitor_text.c