aliguori 1ff7df1a84 Enhance 'info vnc' monitor output ("Daniel P. Berrange")
The current 'info vnc' monitor output just displays the VNC server address
as provided by the -vnc command line flag. This isn't particularly useful
since it doesn't tell you what VNC is actually listening on. eg, if you
use '-vnc :1' it is useful to know whether this translated to '0.0.0.0:5901'
or chose IPv6 ':::5901'.  It is also useful to know the address of the
client that is currently connected. It is also useful to know the active
authentication (if any).

This patch tweaks the monitor output to look like:

   (qemu) info vnc
    Server:
         address: 0.0.0.0:5902
            auth: vencrypt+x509
    Client: none

And when 2 clients are connected

   (qemu) info vnc
    Server:
         address: 0.0.0.0:5902
            auth: vencrypt+x509
    Client:
         address: 10.33.6.67:38621
    Client:
         address: 10.33.6.63:38620

More data will be added to this later in the patch series...

The 'addr_to_string' helper method in this patch is overly generic
for the needs of this patch alone. This is because it will be re-used
by the later SASL patches in this series, where the flexibility is
important.


 vnc.c |  137 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 127 insertions(+), 10 deletions(-)

   Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6720 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-06 20:27:05 +00:00
2009-03-05 23:01:23 +00:00
2009-03-05 23:01:23 +00:00
2009-02-09 23:19:44 +00:00
2009-03-05 23:01:23 +00:00
2009-03-03 06:12:14 +00:00
2009-01-14 19:40:27 +00:00
2009-01-22 17:15:25 +00:00
2008-12-13 09:32:43 +00:00
2004-08-01 21:54:53 +00:00
2003-04-29 20:53:42 +00:00
2007-11-10 17:38:00 +00:00
2009-01-05 18:11:53 +00:00
2007-11-11 02:51:17 +00:00
2009-03-05 23:01:23 +00:00
2009-03-05 23:01:23 +00:00
2009-01-14 18:39:49 +00:00
2009-01-14 18:39:49 +00:00
2009-03-05 23:01:23 +00:00
2008-10-12 17:54:42 +00:00
2009-01-14 19:40:27 +00:00
2009-02-05 21:23:54 +00:00
2008-10-27 19:49:12 +00:00
2009-02-09 19:58:22 +00:00
2009-03-05 23:01:23 +00:00
2009-03-05 23:01:23 +00:00
2009-02-05 21:23:58 +00:00
2009-02-08 17:17:52 +00:00
2009-02-23 13:16:07 +00:00
2008-11-12 17:18:41 +00:00
2007-09-16 20:03:23 +00:00
2008-04-12 20:14:54 +00:00
2008-04-12 20:14:54 +00:00
2008-05-31 16:21:33 +00:00
2005-04-07 22:20:31 +00:00
2008-12-14 08:50:18 +00:00
2008-11-30 16:25:37 +00:00
2009-01-05 18:11:53 +00:00
2003-08-10 22:14:22 +00:00
2008-08-25 22:26:03 +00:00
2007-05-05 19:24:38 +00:00
2007-05-05 19:24:38 +00:00
2009-03-05 23:01:23 +00:00
2009-03-05 23:01:23 +00:00
2008-12-11 19:39:56 +00:00
2009-03-05 23:01:23 +00:00
2009-01-24 18:19:25 +00:00
2009-01-14 18:39:49 +00:00
2009-02-11 21:00:32 +00:00
2009-01-14 18:34:22 +00:00
2007-11-17 17:14:51 +00:00
2009-03-05 23:01:23 +00:00
2008-12-14 08:50:18 +00:00
2008-12-13 09:32:43 +00:00
2009-03-05 23:01:23 +00:00
2008-10-02 18:26:42 +00:00
2009-03-03 17:37:21 +00:00
2007-10-06 11:28:21 +00:00
2008-12-14 08:53:17 +00:00
2009-03-05 23:01:23 +00:00
2008-02-04 14:47:49 +00:00
2008-12-04 11:29:42 +00:00
2009-03-05 23:01:23 +00:00
2009-03-05 23:01:23 +00:00
2009-03-05 23:01:23 +00:00
2008-09-06 16:31:30 +00:00
2009-02-09 23:19:32 +00:00
2005-01-06 20:50:00 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%