diff options
author | Paolo Bonzini | 2015-04-22 13:12:40 +0200 |
---|---|---|
committer | Paolo Bonzini | 2015-06-05 17:09:58 +0200 |
commit | 5299c0f2cf951c23ec681ff87e455d1cf4ec537b (patch) | |
tree | f19e55e98a35b53950429fa14857791783740707 /hw/display/cg3.c | |
parent | display: enable DIRTY_MEMORY_VGA tracking explicitly (diff) | |
download | qemu-5299c0f2cf951c23ec681ff87e455d1cf4ec537b.tar.gz qemu-5299c0f2cf951c23ec681ff87e455d1cf4ec537b.tar.xz qemu-5299c0f2cf951c23ec681ff87e455d1cf4ec537b.zip |
display: add memory_region_sync_dirty_bitmap calls
These are strictly speaking only needed for KVM and Xen, but it's still
nice to be consistent.
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/cg3.c')
-rw-r--r-- | hw/display/cg3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/cg3.c b/hw/display/cg3.c index cbcf518739..b94e5e0d78 100644 --- a/hw/display/cg3.c +++ b/hw/display/cg3.c @@ -106,6 +106,7 @@ static void cg3_update_display(void *opaque) pix = memory_region_get_ram_ptr(&s->vram_mem); data = (uint32_t *)surface_data(surface); + memory_region_sync_dirty_bitmap(&s->vram_mem); for (y = 0; y < height; y++) { int update = s->full_update; |