Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTFCU-0001Xu-P5 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 09:16:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTFCQ-0001X3-16 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 09:16:10 -0400 Received: from [199.232.76.173] (port=51798 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTFCP-0001X0-UO for qemu-devel@nongnu.org; Tue, 21 Jul 2009 09:16:05 -0400 Received: from smtp.ctxuk.citrix.com ([62.200.22.115]:39849 helo=SMTP.EU.CITRIX.COM) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTFCP-0003iq-HY for qemu-devel@nongnu.org; Tue, 21 Jul 2009 09:16:05 -0400 Date: Tue, 21 Jul 2009 14:16:18 +0100 From: Stefano Stabellini Subject: Re: [Qemu-devel] Re: [PATCH] update server bits on vnc_update In-Reply-To: Message-ID: References: <1247892434-21209-1-git-send-email-glommer@redhat.com> <4A6577A1.9010509@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: "qemu-devel@nongnu.org" , Glauber Costa , Gerd Hoffmann , "aliguori@us.ibm.com" On Tue, 21 Jul 2009, Stefano Stabellini wrote: > As a side note: I was reading the new vnc multiclient code to understand > how the refresh works now, and I have just noticed something that I > think is wrong: > > we call vga_hw_update in vnc_update_client, that means we call it once > per vnc client connected! We should call it only once, probably in a > separate timer, that is enabled only if at least one client is connect. > > > I also don't like the fact that we are allocating a server surface per > client connected, this can become a problem very fast: I think we could > probably get away with just one server surface for all the clients. > > Obviously these are suggestions for improvements and I am willing to write the patches if you agree with the ideas.