Re: [libvirt] [PATCH] check more error info about whether drive_add failed

2011-02-17 Thread Eric Blake
On 02/16/2011 08:32 PM, Wen Congyang wrote: > 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 > > --- > src/qemu/qemu_monitor_text.c |6 ++ > 1 files

[libvirt] [PATCH] check more error info about whether drive_add failed

2011-02-16 Thread Wen Congyang
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 --- src/qemu/qemu_monitor_text.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/qe