]> 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)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 4 Aug 2011 21:43:09 +0000 (16:43 -0500)
commit6c6ec1821a2631b21e680051e2dedaa1be5b83dc
tree9b97d249f540bea9130e0f110cef2400f58ccd0c
parentd4443cb616a62619b3b133c44094c3b056ecd3b0
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