]> xenbits.xensource.com Git - libvirt.git/commit
virsh: Add domdisplay cmd for VNC, SPICE and RDP
authorDoug Goldstein <cardoe@cardoe.com>
Sun, 24 Jun 2012 21:14:54 +0000 (16:14 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 27 Jun 2012 14:17:00 +0000 (16:17 +0200)
commit421a2009873c82a76775919395dbd077e12c9fdd
tree4ab07ca735c2b9d10910e2634741b8a320874db7
parentb3f748a736781298efcac833adbaab84fa9c4968
virsh: Add domdisplay cmd for VNC, SPICE and RDP

v2:
- Refactored to use virBuffer
- Refactored to use virXPath wrappers
- Added support for tls-port and password for SPICE
- Added optional flag to disable SPICE password to the URI
- Added support for RDP
- Fixed code reviews

Add a new 'domdisplay' command that provides a URI for VNC, SPICE and
RDP connections. Presently the 'vncdisplay' command provides you with
the port info that QEMU is listening on but there is no counterpart for
SPICE and RDP. Additionally this provides you with the bind address as
specified in the XML, which the existing 'vncdisplay' lacks. For SPICE
connections it supports secure and unsecure channels and optionally
providing the password for the SPICE channel.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
tools/virsh.c
tools/virsh.pod