]> git.proxmox.com Git - mirror_qemu.git/commit
virtio-balloon: Check if balloon registration failed
authorAmit Shah <amit.shah@redhat.com>
Wed, 27 Jul 2011 06:59:33 +0000 (12:29 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 4 Aug 2011 21:43:09 +0000 (16:43 -0500)
commitf76f665547f4a954a2c83552a88816fc2a316be0
tree65fc217c5fd47c5ed0fce6845f572bf20c7183ab
parent6c6ec1821a2631b21e680051e2dedaa1be5b83dc
virtio-balloon: Check if balloon registration failed

Multiple balloon registrations are not allowed; check if the
registration with the qemu balloon api succeeded.  If not, fail the
device init.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio-balloon.c
hw/virtio-pci.c