From 637503d122eb7656d91a8489e254d9e880be7504 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 31 May 2010 14:43:32 -0300 Subject: Monitor: Drop QMP documentation from code Previous commit added QMP documentation to the qemu-monitor.hx file, it's is a copy of this information. While it's good to keep it near code, maintaining two copies of the same information is too hard and has little benefit as we don't expect client writers to consult the code to find how to use a QMP command. Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- vnc.c | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'vnc.c') diff --git a/vnc.c b/vnc.c index 30db8b1c35..ed0e096000 100644 --- a/vnc.c +++ b/vnc.c @@ -323,35 +323,6 @@ void do_info_vnc_print(Monitor *mon, const QObject *data) } } -/** - * do_info_vnc(): Show VNC server information - * - * Return a QDict with server information. Connected clients are returned - * as a QList of QDicts. - * - * The main QDict contains the following: - * - * - "enabled": true or false - * - "host": server's IP address - * - "family": address family ("ipv4" or "ipv6") - * - "service": server's port number - * - "auth": authentication method - * - "clients": a QList of all connected clients - * - * Clients are described by a QDict, with the following information: - * - * - "host": client's IP address - * - "family": address family ("ipv4" or "ipv6") - * - "service": client's port number - * - "x509_dname": TLS dname (optional) - * - "sasl_username": SASL username (optional) - * - * Example: - * - * { "enabled": true, "host": "0.0.0.0", "service": "50402", "auth": "vnc", - * "family": "ipv4", - * "clients": [{ "host": "127.0.0.1", "service": "50401", "family": "ipv4" }]} - */ void do_info_vnc(Monitor *mon, QObject **ret_data) { if (vnc_display == NULL || vnc_display->display == NULL) { -- cgit v1.2.1