commit | 7bb6edb0e3dd78d74e0ac980cf6c0a07307f61bf | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Sep 20 14:06:08 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Dec 09 21:46:48 2013 +0100 |
tree | 17ed0cf16441dd092ae16ec8d76e907ab21ee678 | |
parent | baa61b9870dd7e0bb07e0ae61c6ec805db13f699 [diff] |
virtio-rng: 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>