Bug 431895 - API lacks equivalent to "virsh vncdisplay"
Summary: API lacks equivalent to "virsh vncdisplay"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-07 17:59 UTC by David Mueller
Modified: 2008-02-07 18:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-07 18:16:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Mueller 2008-02-07 17:59:00 UTC
Description of problem:

The API for libvirt appears to lack an equivalent to the "virsh vncdisplay"
command to obtain the VNC details of a guest VM.  I am using the Python
bindings, and while it is possible to get this via a shell command, e.g.
os.popen('virsh vncdisplay emulator_red').read(), this is rather inelegant.

Version-Release number of selected component (if applicable):

libvirt-0.4.0-4.fc8

Comment 1 Daniel Berrangé 2008-02-07 18:16:26 UTC
its available in the XML description

char *                  virDomainGetXMLDesc     (virDomainPtr domain,
                                                 int flags);


With xpath expression of  /domain/devices/graphics[@type='vnc']


Note You need to log in before you can comment on or make changes to this bug.