]> git.proxmox.com Git - qemu.git/commit
virtio-balloon: Add exit handler, fix memleaks
authorAmit Shah <amit.shah@redhat.com>
Wed, 27 Jul 2011 08:20:41 +0000 (13:50 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 28 Jul 2011 09:40:33 +0000 (15:10 +0530)
commit7e10be8c743e5f1e8a46ad0d863b4fd670e163ee
tree1d49bf4fc2480a460bbb6ecc1c2ca993f834f34d
parent9843621e3b03d36aa64d57abedc6d03bde464dd3
virtio-balloon: Add exit handler, fix memleaks

Add an exit handler that will free up RAM after a virtio-balloon device
is unplugged.

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
hw/virtio.h