[libvirt] [PATCHv4 1/2] conf: add <listen> subelement to domain <graphics> element

Daniel P. Berrange berrange at redhat.com
Tue Aug 2 11:00:03 UTC 2011


On Thu, Jul 28, 2011 at 11:09:40AM -0600, Eric Blake wrote:
> On 07/28/2011 12:11 AM, Laine Stump wrote:
> >Once it's plugged in, the<listen>  element will be an optional
> >replacement for the "listen" attribute that graphics elements already
> >have. If the<listen>  element is type='address', it will have an
> >attribute called 'address' which will contain an IP address or dns
> >name that the guest's display server should listen on. If, however,
> >type='network', the<listen>  element should have an attribute called
> >'network' that will be set to the name of a network configuration to
> >get the IP address from.
> 
> I think we're there.  Thanks for putting up with the review churn.
> 
> >+++ b/docs/formatdomain.html.in
> >@@ -2046,6 +2046,12 @@ qemu-kvm -net nic,model=? /dev/null
> >      <graphics type='vnc' port='5904'/>
> 
> It looks fishy to have one...
> 
> >      <graphics type='rdp' autoport='yes' multiUser='yes' />
> >      <graphics type='desktop' fullscreen='yes'/>
> >+<graphics type='vnc'>
> >+<listen type='address' address='1.2.3.4'/>
> >+</graphics>
> 
> ...and then a second type='vnc' description (do we support multiple
> vnc graphics adapters on any existing hypervisor?).  How about
> consolidating this part of the example into just:

FYI with virtualbox you can have multiple <graphics> elements present,
though they should be of different types.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list