diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-10-16 16:04:59 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-01-25 18:32:47 +0000 |
commit | fd4aa979033ca604ad829cf95055d4b5c5ed1063 (patch) | |
tree | defa55c0e1815076d229f941d4fe8ddf239b799f /xen-all.c | |
parent | 59abb06198ee9471e29c970f294eae80c0b39be1 (diff) |
memory: change dirty setting APIs to take a size
Instead of each target knowing or guessing the guest page size,
just pass the desired size of dirtied memory area.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'xen-all.c')
-rw-r--r-- | xen-all.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -447,7 +447,8 @@ static void xen_sync_dirty_bitmap(XenIOState *state, j = ffsl(map) - 1; map &= ~(1ul << j); memory_region_set_dirty(framebuffer, - (i * width + j) * TARGET_PAGE_SIZE); + (i * width + j) * TARGET_PAGE_SIZE, + TARGET_PAGE_SIZE); }; } } |