qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 7bfde6: virtio-blk: Add blk_drain() to virtio


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 7bfde6: virtio-blk: Add blk_drain() to virtio_blk_device_u...
Date: Sat, 26 Oct 2019 02:12:11 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 7bfde688fb1b05fa5f73d2498be959e59e1e1d57
      
https://github.com/qemu/qemu/commit/7bfde688fb1b05fa5f73d2498be959e59e1e1d57
  Author: Julia Suvorova <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/block/virtio-blk.c

  Log Message:
  -----------
  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 <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: d154ef37ff885918fa3e512fd7a8e42870291667
      
https://github.com/qemu/qemu/commit/d154ef37ff885918fa3e512fd7a8e42870291667
  Author: Dietmar Maurer <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M util/qemu-coroutine-io.c

  Log Message:
  -----------
  yield_until_fd_readable: make it work with any AioContect

Simply use qemu_get_current_aio_context().

Signed-off-by: Dietmar Maurer <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 856bd2c28e108ad0eb909bbbf3774f6f8bd7c2d4
      
https://github.com/qemu/qemu/commit/856bd2c28e108ad0eb909bbbf3774f6f8bd7c2d4
  Author: Peter Maydell <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/block/virtio-blk.c
    M util/qemu-coroutine-io.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into 
staging

Pull request

# gpg: Signature made Fri 25 Oct 2019 20:18:23 BST
# gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <address@hidden>" [full]
# gpg:                 aka "Stefan Hajnoczi <address@hidden>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/block-pull-request:
  yield_until_fd_readable: make it work with any AioContect
  virtio-blk: Add blk_drain() to virtio_blk_device_unrealize()

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/ee70fc26a561...856bd2c28e10



reply via email to

[Prev in Thread] Current Thread [Next in Thread]