]> git.proxmox.com Git - qemu.git/commit
balloon: Don't allow multiple balloon handler registrations
authorAmit Shah <amit.shah@redhat.com>
Wed, 27 Jul 2011 06:58:19 +0000 (12:28 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 28 Jul 2011 09:39:49 +0000 (15:09 +0530)
commiteaa8b2778c182c8f795970dd46fef5b039fb741c
tree07c108072533289f525d8960dea2b741ee53f20c
parent89594593867c69f7cf63805374dda5476f17ecac
balloon: Don't allow multiple balloon handler registrations

Multiple balloon devices don't make sense; disallow more than one
registration attempt to register handlers.

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