aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-12-17 15:49:44 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-01-22 11:18:47 +0100
commitdf887684603a4b3b0c623090a6b419dc70f22c32 (patch)
treef13854afa887a78fac2d5ce9b2eb6fe078c2a7d6 /qmp-commands.hx
parent2d29a4368c3c00a5cf200f29b3dfd32bc4fb2c31 (diff)
downloadqemu-df887684603a4b3b0c623090a6b419dc70f22c32.zip
qemu-df887684603a4b3b0c623090a6b419dc70f22c32.tar.gz
qemu-df887684603a4b3b0c623090a6b419dc70f22c32.tar.bz2
monitor: add query-vnc-servers command
Add new query vnc qmp command, for the lack of better ideas just name it "query-vnc-servers". Changes over query-vnc: * It returns a list of vnc servers, so multiple vnc server instances are covered. * Each vnc server returns a list of server sockets. Followup patch will use that to also report websockets. In case we add support for multiple server sockets server sockets (to better support ipv4+ipv6 dualstack) we can add them to the list too. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx5
1 files changed, 5 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 8957201..c5f16dd 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -2867,6 +2867,11 @@ EQMP
.args_type = "",
.mhandler.cmd_new = qmp_marshal_input_query_vnc,
},
+ {
+ .name = "query-vnc-servers",
+ .args_type = "",
+ .mhandler.cmd_new = qmp_marshal_input_query_vnc_servers,
+ },
SQMP
query-spice