]> git.proxmox.com Git - qemu.git/commit
virtio-balloon: Unregister savevm section on device unplug
authorAmit Shah <amit.shah@redhat.com>
Thu, 28 Jul 2011 06:06:26 +0000 (11:36 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 28 Jul 2011 09:40:39 +0000 (15:10 +0530)
commit868aa386b825e8058b8988ec7703908661af1e22
tree73cd869d00ba561dc9dc4fe5984e12bd672b028c
parent7e10be8c743e5f1e8a46ad0d863b4fd670e163ee
virtio-balloon: Unregister savevm section on device unplug

Migrating after unplugging a virtio-balloon device resulted in an error
message on the destination:

Unknown savevm section or instance '0000:00:04.0/virtio-balloon' 0
load of migration failed

Fix this by unregistering the section on device unplug.

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