Re: [Qemu-devel] [PATCH 2/4] memory: change dirty setting APIs to take a size

2012-01-21 Thread Blue Swirl
On Mon, Jan 9, 2012 at 12:11, Avi Kivity wrote: > On 01/08/2012 11:10 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. >> >> diff --g

Re: [Qemu-devel] [PATCH 2/4] memory: change dirty setting APIs to take a size

2012-01-09 Thread Avi Kivity
On 01/08/2012 11:10 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. > > diff --git a/exec-obsolete.h b/exec-obsolete.h > index f8af27e..

[Qemu-devel] [PATCH 2/4] memory: change dirty setting APIs to take a size

2012-01-08 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 |2 +- exec-obsolete.h | 14 ++ hw/cirrus_vga.c |