virtio: revert virtio_queue_set_notification() nesting
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Revert "virtio: turn vq->notification into a nested counter"hw/ | +6 | 0 replies | |
| 2/2 | virtio: disable notifications again after poll succeededhw/ | +3 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Laszlo Ersek |
|---|---|---|
| Series | T-b | T-b |
| 1/2 | ||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/2] virtio: revert virtio_queue_set_notification() nesting
The virtio_queue_set_notification() nesting introduced for AioContext polling raised an assertion with virtio-net (even in non-polling mode). Converting virtio-net and virtio-crypto to use virtio_queue_set_notification() in a nesting fashion would be invasive and isn't worth it.
Patch 1 contains the revert to resolve the bug that Doug noticed.
Patch 2 is a less efficient but safe alternative.
Stefan Hajnoczi (2):
Revert "virtio: turn vq->notification into a nested counter"
virtio: disable notifications again after poll succeeded
hw/virtio/virtio.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-)
Signature · 1 line
2.9.3