]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't fail virDomainGetInfo if we can't update balloon info
authorJiri Denemark <jdenemar@redhat.com>
Wed, 5 Oct 2011 14:07:36 +0000 (16:07 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 5 Oct 2011 14:41:48 +0000 (16:41 +0200)
commitfcd2bd55d714b8e939c5bfd44fd2ddc32a09c141
tree5c96dc390cd3f2bfbeafc512e380927c6ab25ce1
parentf045583372ea2ca983f824a9d7c03f6df8da4539
qemu: Don't fail virDomainGetInfo if we can't update balloon info

Qemu driver tries to update balloon data in virDomainGetInfo and if it
can't do so because there is another monitor job running, it just
reports what's known in domain def. However, if there was no job running
but getting the data from qemu fails, we would fail the whole API. This
doesn't make sense. Let's make the failure nonfatal.
src/qemu/qemu_driver.c