On 10/15/2014 06:19 AM, Gerd Hoffmann wrote: > 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?
Bummer - query-vnc returns a single struct VncInfo instead of an array. Maybe the thing to do is add a new command: { 'command': 'query-vncs', 'returns': [ 'VncInfo' ] } which returns an array where the first element matches the older 'query-vnc', but by being an array it lets you return all vnc information in one call. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature