ivshmem: fix pci_ivshmem_exit()
commitf64a078d45a4c1d1da074d1c306a5a4994dcda89
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 23 Jun 2015 10:57:16 +0000 (23 12:57 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 24 Oct 2015 16:02:49 +0000 (24 18:02 +0200)
treeba170bd0680cc70d0694fa4533618a9af57469d2
parentd383537d01c1f23d783955963e234d11fce8ec02
ivshmem: fix pci_ivshmem_exit()

Free all objects owned by the device, making sure the device is free,
fixing hot-unplug.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
hw/misc/ivshmem.c