]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Report more accurate error on failure to attach device.
authorHu Tao <hutao@cn.fujitsu.com>
Thu, 27 Jan 2011 07:21:42 +0000 (15:21 +0800)
committerEric Blake <eblake@redhat.com>
Fri, 28 Jan 2011 03:27:05 +0000 (20:27 -0700)
commitcdbba1c4960a22b5f8c034dd9257bec2d5fa38d6
tree9e6ca6efa5f4a3296e55ccfa4c79dae6e7fa8a82
parentf15cad2916f0ac80a2f3659c3ba8294857283ed1
qemu: Report more accurate error on failure to attach device.

When attaching device from a xml file and the device is mis-configured,
virsh gives mis-leading message "out of memory". This patch fixes this.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_hotplug.c