On Fri, Jun 22, 2012 at 12:30 AM, Doug Goldstein <cardoe(a)cardoe.com> wrote:
Add a new 'domdisplay' command that provides a URI for both
VNC and
SPICE connections. Presently the 'vncdisplay' command provides you with
the port info that QEMU is listening on but there is no counterpart for
SPICE. Additionally this provides you with the bind address as specified
in the XML, which the existing 'vncdisplay' lacks.
I also toyed with the idea of adding this instead as an API call to
libvirt called something like virDomainDisplay() and allowing other
backends to advertise their URIs to the domain's display. I believe
VMWare has VMWare View which I would assume would have a method by
which to call it and provide the machine to connect to as command line
arguments. Then virsh would simply hook the 'domdisplay' command to
virDomainDisplay() and spit out that output. It would probably be able
to be used by virt-manager and vdsm as well.
Just a thought. Let me know.
--
Doug Goldstein