[libvirt] python-libvirt get vnc port

Cole Robinson crobinso at redhat.com
Sun Jun 14 20:41:48 UTC 2009


On 06/14/2009 02:43 PM, lizardkings wrote:
> Hwdy,
> 
> Is it possible to get the VNC port number of a virtual machine via the
> python libvirt?
> 
> Thanx,
>  DG

You would need to use dom.XMLDesc() and pull the info out of the XML.
There isn't an API call specifically for the VNC port.

- Cole




More information about the libvir-list mailing list