aboutsummaryrefslogtreecommitdiff
path: root/hw/display/g364fb.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-03-23 10:47:45 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-05 17:09:58 +0200
commit74259ae55b15bff4ef7b26faa6431a3ff16d7c9d (patch)
tree1cb82e1796ca3f8b52531378588661587652e6ea /hw/display/g364fb.c
parent086f90e890fb25e7f12fbe72fe5a8078792398aa (diff)
downloadqemu-74259ae55b15bff4ef7b26faa6431a3ff16d7c9d.zip
qemu-74259ae55b15bff4ef7b26faa6431a3ff16d7c9d.tar.gz
qemu-74259ae55b15bff4ef7b26faa6431a3ff16d7c9d.tar.bz2
display: enable DIRTY_MEMORY_VGA tracking explicitly
This will be required soon by the memory core. Tested-by: Aurelien Jarno <aurelien@aurel32.net> 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 6543f2f..be62dd6 100644
--- a/hw/display/g364fb.c
+++ b/hw/display/g364fb.c
@@ -489,6 +489,7 @@ static void g364fb_init(DeviceState *dev, G364State *s)
memory_region_init_ram_ptr(&s->mem_vram, NULL, "vram",
s->vram_size, s->vram);
vmstate_register_ram(&s->mem_vram, dev);
+ memory_region_set_log(&s->mem_vram, true, DIRTY_MEMORY_VGA);
}
#define TYPE_G364 "sysbus-g364"