> > How does virt-viewer currently do this? Should we be using the same mechanism? > > --Hugh > I based this off virt-viewer's implementation with some slight tweaks http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-viewer--devel/file/92da1556bbf9/src/main.c#l1 -Mo