summaryrefslogtreecommitdiffstats
path: root/hw/display/g364fb.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-04-22 13:12:40 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-05 17:09:58 +0200
commit5299c0f2cf951c23ec681ff87e455d1cf4ec537b (patch)
treef19e55e98a35b53950429fa14857791783740707 /hw/display/g364fb.c
parent74259ae55b15bff4ef7b26faa6431a3ff16d7c9d (diff)
downloadhqemu-5299c0f2cf951c23ec681ff87e455d1cf4ec537b.zip
hqemu-5299c0f2cf951c23ec681ff87e455d1cf4ec537b.tar.gz
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/g364fb.c')
-rw-r--r--hw/display/g364fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/g364fb.c b/hw/display/g364fb.c
index be62dd6..52a9733 100644
--- a/hw/display/g364fb.c
+++ b/hw/display/g364fb.c
@@ -260,6 +260,7 @@ static void g364fb_update_display(void *opaque)
qemu_console_resize(s->con, s->width, s->height);
}
+ memory_region_sync_dirty_bitmap(&s->mem_vram);
if (s->ctla & CTLA_FORCE_BLANK) {
g364fb_draw_blank(s);
} else if (s->depth == 8) {
OpenPOWER on IntegriCloud