summary refs log tree commit diff stats
path: root/hw/dataplane
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2013-02-22 14:37:10 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-03-04 09:54:16 +0100
commit69b302b2044a9a0f6d157d25b39a91ff7124c61f (patch)
treebe66ecfb923c2641b4b2819d0cc881da56d490b0 /hw/dataplane
parent02d583c7232d65920634f7553700eb348f84e472 (diff)
downloadfocaccia-qemu-69b302b2044a9a0f6d157d25b39a91ff7124c61f.tar.gz
focaccia-qemu-69b302b2044a9a0f6d157d25b39a91ff7124c61f.zip
virtio-blk: fix unplug + virsh reboot
virtio-blk registers a vmstate change handler. Unfortunately this
handler is not unregistered on unplug, leading to some random
crashes if the system is restarted, e.g. via virsh reboot.
Lets unregister the vmstate change handler if the device is removed.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/dataplane')
0 files changed, 0 insertions, 0 deletions