qemu-devel
[Top][All Lists]
Advanced

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

[PATCH 0/5] qmp: cleanup QMP dispatcher coroutine


From: Paolo Bonzini
Subject: [PATCH 0/5] qmp: cleanup QMP dispatcher coroutine
Date: Thu, 18 May 2023 12:18:18 +0200

The QMP dispatcher coroutine is a bit messy.  Clean it up by creating
small and understandable functions, and once the wakeup logic is clear
change it to remove the qatomic_mb_read()/qatomic_mb_set() pair.

With this change and the other HMP series posted, the last use of
qatomic_mb_read() is removed.

Paolo

Paolo Bonzini (5):
  monitor: cleanup detection of qmp_dispatcher_co shutting down
  monitor: cleanup fetching of QMP requests
  monitor: introduce qmp_dispatcher_co_wake
  monitor: extract request dequeuing to a new function
  monitor: do not use mb_read/mb_set

 monitor/monitor-internal.h |   2 +-
 monitor/monitor.c          |  33 +++--------
 monitor/qmp.c              | 110 ++++++++++++++++++++++++-------------
 3 files changed, 80 insertions(+), 65 deletions(-)

-- 
2.40.1




reply via email to

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