diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-22 13:12:40 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-05 17:09:58 +0200 |
commit | 5299c0f2cf951c23ec681ff87e455d1cf4ec537b (patch) | |
tree | f19e55e98a35b53950429fa14857791783740707 /hw/display/sm501.c | |
parent | 74259ae55b15bff4ef7b26faa6431a3ff16d7c9d (diff) | |
download | qemu-5299c0f2cf951c23ec681ff87e455d1cf4ec537b.zip qemu-5299c0f2cf951c23ec681ff87e455d1cf4ec537b.tar.gz qemu-5299c0f2cf951c23ec681ff87e455d1cf4ec537b.tar.bz2 |
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/sm501.c')
-rw-r--r-- | hw/display/sm501.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/sm501.c b/hw/display/sm501.c index 43f8538..15a5ba8 100644 --- a/hw/display/sm501.c +++ b/hw/display/sm501.c @@ -1322,6 +1322,7 @@ static void sm501_draw_crt(SM501State * s) } /* draw each line according to conditions */ + memory_region_sync_dirty_bitmap(&s->local_mem_region); for (y = 0; y < height; y++) { int update_hwc = draw_hwc_line ? within_hwc_y_range(s, y, 1) : 0; int update = full_update || update_hwc; |