]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: report an error if memballoon has wrong address type
authorJán Tomko <jtomko@redhat.com>
Mon, 29 Apr 2013 18:01:19 +0000 (20:01 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 30 Apr 2013 08:23:44 +0000 (10:23 +0200)
commit29bd350bf6a99c61176699d60a827595a471f6e1
tree63a72d99a0b65776f6573548c52de9ae25f52062
parent11fc1beab6e018a88182f80056d35217c150b3de
qemu: report an error if memballoon has wrong address type

qemuBuildMemballoonDevStr returns NULL if memballoon doesn't have
the right address type, but it doesn't report an error, leading to:
error: An error occurred, but the cause is unknown

Report a helpful error message instead, e.g.:
error: XML error: memballoon unsupported with address type 'usb'
src/qemu/qemu_command.c