]> xenbits.xensource.com Git - qemu-xen.git/commit
pci: unregister vmstate_pcibus on unplug
authorBandan Das <bsd@redhat.com>
Wed, 6 Nov 2013 22:52:17 +0000 (17:52 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 9 Dec 2013 17:40:30 +0000 (11:40 -0600)
commit0f6298786f0d88a29d150a19870f2ea7bc5c01a5
tree714fdfc88ad5f55ed774e330724660b58cda370a
parent03060dc086ec8a75929b7bb58df9e67a305a810d
pci: unregister vmstate_pcibus on unplug

PCIBus registers a vmstate during init. Unregister it upon
removal/unplug.

Signed-off-by: Bandan Das <bsd@redhat.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 5c397242d5d53c1adecce31817bb439383cf8228)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/pci/pci.c