qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] vga optmization


From: Stefano Stabellini
Subject: Re: [Qemu-devel] vga optmization
Date: Mon, 03 Nov 2008 17:43:20 +0000
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

Can we try to avoid any if (kvm_enabled()) in the vga code and use some
kind of more generic hook instead?
Xen has some very similar changes to the vga code, it would be nice to
merge them as well.

Glauber Costa wrote:

> Hi guys,
> 
> this is a port of current kvm vga memory optimization to our new
> infrastructure proposed by anthony. It's goal is to use as few
> kvm specific hooks as possible. In fact, the only one I'm relying
> on is enabling/disabling of logging. The rest, is pretty much general.
> 
> We map the linear frame buffer area as RAM, and then use dirty tracking
> to decide whether or not to update it. To be consistent with qemu,
> this version, differently from upstream kvm, tracks memory based on its
> physical address, represented by vram_offset, instead of vram_ptr, or
> any other construct.
> 
> Let me know what you think
> 
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]