diff options
author | Julia Suvorova | 2019-10-18 16:28:56 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2019-10-25 14:38:24 +0200 |
commit | 7bfde688fb1b05fa5f73d2498be959e59e1e1d57 (patch) | |
tree | 439f21e6654beb4c1b27ea1ae3f42cffe8601f39 /util/main-loop.c | |
parent | Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.2-20191024' into... (diff) | |
download | qemu-7bfde688fb1b05fa5f73d2498be959e59e1e1d57.tar.gz qemu-7bfde688fb1b05fa5f73d2498be959e59e1e1d57.tar.xz qemu-7bfde688fb1b05fa5f73d2498be959e59e1e1d57.zip |
virtio-blk: Add blk_drain() to virtio_blk_device_unrealize()
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 <jusual@redhat.com>
Message-Id: <20191018142856.31870-1-jusual@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util/main-loop.c')
0 files changed, 0 insertions, 0 deletions