On Sun, Oct 23, 2011 at 10:32:10AM +0200, Alon Levy wrote: > On Fri, Oct 21, 2011 at 04:10:58PM +0100, Daniel P. Berrange wrote: > > QEMU has a monitor command 'add_client' which can be used over > > a UNIX domain socket connection with SCM_RIGHTS, to pass a > > pre-opened client socket connection FD for graphics displays. > > This series adds two new APIs for libspice-server.so which > > enable QEMU to wire up this monitor command for SPICE, as > > well as VNC. > > > > libvirt in turn exposes the QEMU monitor command via a new > > virDomainOpenConsole API. Finally virt-viewer can use this > > libvirt API to connect to VNC/SPICE, by passing across one > > end of a socketpair. The benefit of this approach, over just > > connecting to the TCP/UNIX server socket of QEMU directly > > are multiple. The TCP socket may have authenticatin enabled, > > which is redundant if libvirt is authenticating clients > > invoking virDomainOpenConsole. The UNIX socket may not be > > accessible by the virt-viewer application, while it can > > access libvirt. > > > > Looks good. Just one thing - is this supposed to get into RHEL at some > point? since there the 0.8 branch is used, this will need to be > backported to 0.8. The code there is different enough that it will be > some work.
No, I'm only interested in Fedora 17, and the close QEMU 1.0 release. Regards, 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 :| _______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
