qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] vl: flush all task from rcu queue before exiting
@ 2021-11-15  9:41 Denis Plotnikov
  2021-11-15  9:41 ` [PATCH v1 1/2] monitor: move monitor destruction to the very end of qemu cleanup Denis Plotnikov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Denis Plotnikov @ 2021-11-15  9:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, dgilbert, yc-core, armbru

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(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-25  9:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15  9:41 [PATCH v1 0/2] vl: flush all task from rcu queue before exiting Denis Plotnikov
2021-11-15  9:41 ` [PATCH v1 1/2] monitor: move monitor destruction to the very end of qemu cleanup Denis Plotnikov
2021-11-25  9:26   ` Markus Armbruster
2021-11-15  9:41 ` [PATCH v1 2/2] vl: flush all task from rcu queue before exiting Denis Plotnikov
2021-11-19  9:42 ` [Ping] [PATCH v1 0/2] " Denis Plotnikov
2021-11-25  7:09   ` [PING][Ping] " Denis Plotnikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).