Bug 431895 - API lacks equivalent to "virsh vncdisplay"
API lacks equivalent to "virsh vncdisplay"
Product: Fedora
Classification: Fedora
Component: libvirt (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Veillard
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-02-07 12:59 EST by David Mueller
Modified: 2008-02-07 13:16 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-07 13:16:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Mueller 2008-02-07 12:59:00 EST
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):

Comment 1 Daniel Berrange 2008-02-07 13:16:26 EST
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.