[virt-tools-list] [PATCH virt-viewer 15/19] Hook up handling of Monitors

Christophe Fergeau cfergeau at redhat.com
Tue Jul 17 14:06:45 UTC 2012


On Tue, Jul 17, 2012 at 03:59:20PM +0200, Marc-André Lureau wrote:
> On Tue, Jul 17, 2012 at 3:53 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> >> and I guess we rely on lower level of the stack to do that for us.
> >
> > Except I'm not sure any part of the stack is doing this for us, is there
> > such a part? In this specific case, the protocol can handle an arbitrary
> 
> That would be tcp & ssl in our case.
> 
> > number of monitors as I understand it, it's the client code that cannot
> > handle too many monitors, so limiting the number of monitors here would
> > make sense.
> > It's an issue I wanted to raise, I'm not saying this must be fixed in this
> > patch.
> 
> I can't think of a reasonable way of handling that, except having
> limitation of max monitors == number of monitors on client side. This
> would be a logical change, except that it will not allow, for
> instance, to work with multi-display on a single monitor (like I do
> now, but perhaps this is only interesting for developpers)

Oh, I was mostly thinking of checking max_monitors for an arbitrary max
value (4, 16 or 256) to avoid allocating arbitrary amount of memory by
trusting a network value.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20120717/597b7e4c/attachment.sig>


More information about the virt-tools-list mailing list