qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] vga optmization


From: Glauber Costa
Subject: Re: [Qemu-devel] vga optmization
Date: Mon, 3 Nov 2008 15:52:37 -0200

On Mon, Nov 3, 2008 at 3:43 PM, Stefano Stabellini
<address@hidden> wrote:
> 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.

Yes, we could. But then we'd need to have qemu to view memory as slots.
It's worthy, but long term.

By the way, posting those xen changes would be awesome.
If we both can avoid using hv-specific hooks (which I did: there's
only one left), and
so do you, I'm sure we can come up with something very nice in the end
of the day.
>
> 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
>>
>>
>
>
>
>
>



-- 
Glauber  Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."




reply via email to

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