Kevin Wolf 41725fa7ed qmp: Call monitor_set_cur() only in qmp_dispatch()
The correct way to set the current monitor for a coroutine handler will
be different than for a blocking handler, so monitor_set_cur() needs to
be called in qmp_dispatch().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201005155855.256490-7-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2020-10-09 07:08:19 +02:00
..
2020-09-07 17:13:19 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-09-07 17:13:19 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-09-07 17:13:19 +02:00
2020-03-06 17:21:28 +01:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00