]> xenbits.xensource.com Git - qemu-xen.git/commit
qmp: Simplify code around monitor_qmp_dispatch_one()
authorMarkus Armbruster <armbru@redhat.com>
Tue, 3 Jul 2018 08:53:41 +0000 (10:53 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 3 Jul 2018 21:18:56 +0000 (23:18 +0200)
commitb27314567d4cd8e204a18feba60d3341fb2d1aed
tree5efccc73b95fdd1497116990ae1a7045eb0265e5
parent05f7274c8bd4a958f6673d28bf9bca0a9cf09c76
qmp: Simplify code around monitor_qmp_dispatch_one()

Change monitor_qmp_dispatch_one() to take its parameters unwrapped,
move monitor_resume() to the one caller that needs it, rename the
function to monitor_qmp_dispatch().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180703085358.13941-16-armbru@redhat.com>
monitor.c