Attached is a patch that allows qemu to support multiple vnc clients.
Each client can have their own
VNC encodings and VNC state.
General idea:
Change structure associated with a display from VncState to a new
structure VncDisplay. Remove client specific fields from VncDisplay.
Remove display specific fields from VncState.
Maintain a linked list of VncStates per VncDisplay structure, update
as necessary.
When updates/resizes/copies come in from the hardware, dispatch to all
clients.
Patch is against current SVN (6618)
Any ideas/suggestions/comments/flames appreciated.