Re: [Qemu-devel] [PATCH v2 3/4] memory: change dirtying APIs to take a size

2011-10-16 Thread Avi Kivity
On 10/16/2011 06:50 PM, Blue Swirl wrote: > Instead of each target knowing or guessing the guest page size, > just pass the desired size of dirtied memory area. This should also > improve performance due to memset() optimizations. Looks good. > cirrus_mem_writeb_mode4and5_8bpp(CirrusVGAState * s,

[Qemu-devel] [PATCH v2 3/4] memory: change dirtying APIs to take a size

2011-10-16 Thread Blue Swirl
Instead of each target knowing or guessing the guest page size, just pass the desired size of dirtied memory area. This should also improve performance due to memset() optimizations. Signed-off-by: Blue Swirl --- arch_init.c |3 ++- cpu-all.h |9 +++-- hw/cirrus_vga.c | 1