diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-20 14:05:42 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2014-02-20 21:36:15 -0600 |
commit | e84e23de3595c48d58745d518c323350bbf228f0 (patch) | |
tree | 6479a16587ff11e83ddede3d03499b5075123e86 /iohandler.c | |
parent | 40699a469ec9ead969bb89e0cf6bd6254566bb54 (diff) |
virtio-blk: switch exit callback to VirtioDeviceClass
This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.
Cc: qemu-stable@nongnu.org
Acked-by: Andreas Faerber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 40dfc16f5fe0afb66f9436718781264dfadb6c61)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'iohandler.c')
0 files changed, 0 insertions, 0 deletions