Skip to content

vl: flush all task from rcu queue before exiting

Denis Plotnikov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

v1 -> v0 from the cover letter

* move monitor cleanup to the very end of qemu cleanup [Paolo]

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2monitor: move monitor destruction to the very end of qemu cleanupmonitor/monitor.c softmmu/runstate.c+7 -11 reply
2/2vl: flush all task from rcu queue before exitinginclude/qemu/rcu.h softmmu/runstate.c util/rcu.c+15 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] vl: flush all task from rcu queue before exiting

v1 -> v0:
* move monitor cleanup to the very end of qemu cleanup [Paolo]

The goal is to notify management layer about device destruction on qemu shutdown. Without this series DEVICE_DELETED event may not be sent because of stuck tasks in the rcu thread. The rcu tasks may stuck on qemu shutdown because the rcu not always have enough time to run them.

Denis Plotnikov (2):
monitor: move monitor destruction to the very end of qemu cleanup
vl: flush all task from rcu queue before exiting

 include/qemu/rcu.h |  1 +
 monitor/monitor.c  |  6 ++++++
 softmmu/runstate.c |  4 +++-
 util/rcu.c         | 12 ++++++++++++
 4 files changed, 22 insertions(+), 1 deletion(-)
Signature · 1 line
2.25.1