[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 7/9] qmp: Fix up comments after commit 9ce44e2ce2
From: |
Markus Armbruster |
Subject: |
[PULL 7/9] qmp: Fix up comments after commit 9ce44e2ce2 |
Date: |
Thu, 4 Feb 2021 15:01:34 +0100 |
Commit 9ce44e2ce2 "qmp: Move dispatcher to a coroutine" replaced
monitor_qmp_bh_dispatcher() by monitor_qmp_dispatcher_co(), but
neglected to update comments. Do that now.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210201161504.1976989-2-armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
---
monitor/qmp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/monitor/qmp.c b/monitor/qmp.c
index 8f91af32be..f6a1e7783b 100644
--- a/monitor/qmp.c
+++ b/monitor/qmp.c
@@ -79,7 +79,7 @@ static void monitor_qmp_cleanup_queue_and_resume(MonitorQMP
*mon)
qemu_mutex_lock(&mon->qmp_queue_lock);
/*
- * Same condition as in monitor_qmp_bh_dispatcher(), but before
+ * Same condition as in monitor_qmp_dispatcher_co(), but before
* removing an element from the queue (hence no `- 1`).
* Also, the queue should not be empty either, otherwise the
* monitor hasn't been suspended yet (or was already resumed).
@@ -349,7 +349,7 @@ static void handle_qmp_command(void *opaque, QObject *req,
Error *err)
/*
* Suspend the monitor when we can't queue more requests after
- * this one. Dequeuing in monitor_qmp_bh_dispatcher() or
+ * this one. Dequeuing in monitor_qmp_dispatcher_co() or
* monitor_qmp_cleanup_queue_and_resume() will resume it.
* Note that when OOB is disabled, we queue at most one command,
* for backward compatibility.
--
2.26.2
- [PULL 0/9] QMP patches patches for 2021-02-04, Markus Armbruster, 2021/02/04
- [PULL 4/9] qobject: spaces required around that operators, Markus Armbruster, 2021/02/04
- [PULL 8/9] qmp: Add more tracepoints, Markus Armbruster, 2021/02/04
- [PULL 3/9] qobject: code indent should never use tabs, Markus Armbruster, 2021/02/04
- [PULL 5/9] qobject: braces {} are necessary for all arms of this statement, Markus Armbruster, 2021/02/04
- [PULL 2/9] qobject: open brace '{' following struct go on the same line, Markus Armbruster, 2021/02/04
- [PULL 7/9] qmp: Fix up comments after commit 9ce44e2ce2,
Markus Armbruster <=
- [PULL 1/9] monitor/qmp-cmds.c: Don't include ui/vnc.h, Markus Armbruster, 2021/02/04
- [PULL 6/9] docs/interop/qmp-spec: Document the request queue limit, Markus Armbruster, 2021/02/04
- [PULL 9/9] qmp: Resume OOB-enabled monitor before processing the request, Markus Armbruster, 2021/02/04
- Re: [PULL 0/9] QMP patches patches for 2021-02-04, no-reply, 2021/02/04
- Re: [PULL 0/9] QMP patches patches for 2021-02-04, Peter Maydell, 2021/02/04