virtio: Drop out of coroutine context in virtio_load()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vmstate: Mark VMStateInfo.get/put() coroutine_mixed_fninclude/ | +5 | 1 reply | |
| 2/2 | virtio: Drop out of coroutine context in virtio_load()hw/ | +40 | 6 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Xu | Stefan Hajnoczi |
|---|---|---|
| Series | R-b | |
| 1/2 | A-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] virtio: Drop out of coroutine context in virtio_load()
This fixes a recently introduced assertion failure that was reported to happen when migrating virtio-net with a failover. The latent bug that we're executing code in coroutine context that was never supposed to run there has existed for a long time. However, the new assertion that callers of bdrv_graph_rdlock_main_loop() don't run in coroutine context makes it very visible because it's now always a crash.
Kevin Wolf (2):
vmstate: Mark VMStateInfo.get/put() coroutine_mixed_fn
virtio: Drop out of coroutine context in virtio_load()
include/migration/vmstate.h | 8 ++++--- hw/virtio/virtio.c | 45 ++++++++++++++++++++++++++++++++----- 2 files changed, 45 insertions(+), 8 deletions(-)
Signature · 1 line
2.41.0