Hi, This patch series adds support for multiple vnc server instances to qemu. This comes handy in multiseat configurations as you can have one vnc server for each set then.
Some cleanups along the way (use QemuOpts). Also added support for limiting the number of parallel vnc connections. To be done: monitor support. I think the best way to handle this is to introduce a new command to query vnc server state, which returns a list of vnc servers but otherwise works like "query-vnc". Alternative approach would be to add a optional 'id=' parameter to query-vnc, but then you'll need a new list-vnc command. Opinions on this? set_password and expire_password commands should be easy, they can be extended with an optional 'id=' parameter. Gerd Hoffmann (6): vnc: remove vnc_display global vnc: remove unused DisplayState parameter, add id instead. vnc: switch to QemuOpts, allow multiple servers vnc: allow binding servers to qemu consoles vnc: update docs/multiseat.txt vnc: track & limit connections docs/multiseat.txt | 18 ++- include/ui/console.h | 18 ++- qmp.c | 15 +- ui/vnc.c | 443 +++++++++++++++++++++++++++++++++++---------------- ui/vnc.h | 5 + vl.c | 41 ++--- 6 files changed, 359 insertions(+), 181 deletions(-) -- 1.8.3.1