On Fri, Dec 21, 2012 at 10:01:46AM +0100, Gerd Hoffmann wrote: > Hi, > > >> pty looks like another non-trivial challenge. How does libvirt gather > >> the pty device today? IIRC there is some stderr parsing? Or was it > >> info chardev? With QMP we probably want switch to a more sane model > >> here ... > > > > Yes, these days we use info chardev, or query-chardev as appropriate > > for the monitor mode. > > So do you want continue using query-chardev, or do you prefer to get the > path returned directly, i.e. something like the attached patch?
If you return the path directly, that'd certainly make life easier 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 :|