[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] virtio-blk: fix unplug + virsh reboot
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] virtio-blk: fix unplug + virsh reboot |
Date: |
Mon, 25 Feb 2013 16:10:18 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 <address@hidden>
> ---
> 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