[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] virtio-blk: Add blk_drain() to virtio_blk_device_unrealize()
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] virtio-blk: Add blk_drain() to virtio_blk_device_unrealize() |
Date: |
Mon, 21 Oct 2019 16:17:07 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Fri, Oct 18, 2019 at 04:28:56PM +0200, Julia Suvorova wrote:
> QEMU does not wait for completed I/O requests, assuming that the guest
> driver will reset the device before calling unrealize(). This does not
> happen on Windows, and QEMU crashes in virtio_notify(), getting the
> result of a completed I/O request on hot-unplugged device.
>
> Signed-off-by: Julia Suvorova <address@hidden>
> ---
> hw/block/virtio-blk.c | 1 +
> 1 file changed, 1 insertion(+)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
signature.asc
Description: PGP signature