joyent/smartos-live — pull request #76 by essele (2012-03-30 13:30:22+00:00)
Title: Suggestion: Add Spice Remote display support

Here's an initial suggestion for incorporating spice, happy to adjust as needed:

This adds support for Spice remote displays in a similar way to VNC displays.
Adds: "spice_port", "spice_password" and "spice_opts" options
Also adds: "soundhw" to enable sound
Also adds: "spice" as an info target
If spice_port is set (and > 0) then it will be the remote display and VNC will not be used.
This also includes fixes to the net.server code to allow socket closure to do the right thing (as far as I can see!!)

Also, this detects the presence of the newer qemu binary (as per mailing list) and adjust the arguments accordingly.

It would be tidier to do this as a set of "remote display" options, including one to decide if it's spice or vnc, however that wouldn't be backwards compatible so I just added spice as a separate set of options.

Regards,

Lee.