qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] vga optmization


From: Avi Kivity
Subject: Re: [Qemu-devel] vga optmization
Date: Tue, 04 Nov 2008 16:51:29 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Stefano Stabellini wrote:
Why don't you make qemu_physical_sync_dirty_bitmap take also and end
address, and you merge the two bitmaps in this address range in this
function, so you don't have to change cpu_physical_memory_get_dirty at
all?

I am saying to do something like:

void qemu_physical_sync_dirty_bitmap(ram_addr_t start_addr, ram_addr_t end_addr)
{
        /* sync and merge the two bitmaps between start_addr and end_addr */
}

then leave cpu_physical_memory_get_dirty untouched.
I would prefer this approch, it also leaves more space to other
optimizations.

That's how current kvm userspace works. It's also more correct, since the kvm bitmap feeds both the vga dirty bits and the live migration dirty bits.

--
error compiling committee.c: too many arguments to function





reply via email to

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