On Fri, Feb 22, 2013 at 02:37:10PM +0100, Christian Borntraeger wrote: > 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 <[email protected]> > --- > hw/virtio-blk.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan
