[et-mgmt-tools] virt-viewer as a browser plugin (patch for discussion only)

Richard W.M. Jones rjones at redhat.com
Fri Jan 25 15:29:44 UTC 2008


I've been trying to get virt-viewer to run as a browser plugin, based on 
similar work for building a Gtk-VNC plugin.

Attached is a patch for discussion.  It doesn't work, but I'm not 
entirely sure why.  The earlier Gtk-VNC plugin works, and this code does 
basically the same thing but doesn't work.  It connects to the VNC 
server, gets framebuffer updates and everything, it just doesn't draw 
anything -- I'm sure it's something very simple.

Anyway ...

The idea is that you can put the following code into your web page, and 
that will display the corresponding console:

   <embed type="application/x-virt-viewer"
     width="900"
     height="700"
     uri="qemu:///system"
     name="1"
     waitvnc="1">
   </embed>

The full parameters are uri & name (required), waitvnc & direct (optional).

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-viewer-no-worky.patch
Type: text/x-patch
Size: 51518 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080125/eafca2df/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080125/eafca2df/attachment-0001.bin>


More information about the et-mgmt-tools mailing list