|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] vga optmization |
Date: | Tue, 04 Nov 2008 14:51:32 -0600 |
User-agent: | Thunderbird 2.0.0.17 (X11/20080925) |
Avi Kivity wrote:
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.
Yeah, there already is an ds->idle in the DisplayState code. This is set by VNC and by SDL.
Of course, dirty updating is driven by vga_hw_update() which is driven by a timer who's interval is determined by ds->idle so we already do this in practice.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |