projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74358f2
)
monitor: Drop do_qmp_capabilities()'s superfluous QMP check
author
Markus Armbruster
<armbru@redhat.com>
Fri, 6 Mar 2015 18:49:41 +0000
(19:49 +0100)
committer
Markus Armbruster
<armbru@redhat.com>
Tue, 2 Jun 2015 08:07:15 +0000
(10:07 +0200)
Superfluous since commit
30f5041
removed it from HMP.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index f20e918fe421d84beef353edbda7d76285bd1c5b..daba98f372f8a8cbdb91c517212a04409e614a76 100644
(file)
--- a/
monitor.c
+++ b/
monitor.c
@@
-566,11
+566,7
@@
static void monitor_qapi_event_init(void)
static int do_qmp_capabilities(Monitor *mon, const QDict *params,
QObject **ret_data)
{
- /* Will setup QMP capabilities in the future */
- if (monitor_ctrl_mode(mon)) {
- mon->qmp.command_mode = 1;
- }
-
+ mon->qmp.command_mode = 1;
return 0;
}