From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxSjA-0005xC-P7 for qemu-devel@nongnu.org; Tue, 04 Nov 2008 15:42:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxSjA-0005x0-2b for qemu-devel@nongnu.org; Tue, 04 Nov 2008 15:42:16 -0500 Received: from [199.232.76.173] (port=47695 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxSj9-0005wx-QT for qemu-devel@nongnu.org; Tue, 04 Nov 2008 15:42:15 -0500 Received: from mx2.redhat.com ([66.187.237.31]:35311) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxSjA-00064g-3t for qemu-devel@nongnu.org; Tue, 04 Nov 2008 15:42:16 -0500 Message-ID: <4910B3AE.9060602@redhat.com> Date: Tue, 04 Nov 2008 22:42:22 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] vga optmization References: <20081103173111.GC30410@poweredge.glommer> <491034BC.2050806@eu.citrix.com> <49106171.5080209@redhat.com> <5d6222a80811040655u107e242cs6f1e7aaf33f2e6dc@mail.gmail.com> In-Reply-To: <5d6222a80811040655u107e242cs6f1e7aaf33f2e6dc@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Glauber Costa , aliguori@us.ibm.com Glauber Costa wrote: > My reason to do this way, was to be lazy about updating the dirty bitmap. > But if the common case is to check for all pages in the region, then > it won't matter much. > In the common case we only check for the displayable area. We should split the region into two, one for the displayable area and one for the offscreen framebuffer (the boundary changes dynamically with the resolution). If qemu can tell us nobody is looking at the screen, we can dirty tracking altogether. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.