Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 hw/vga-pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/vga-pci.c b/hw/vga-pci.c
index ce9ec45..d7d904a 100644
--- a/hw/vga-pci.c
+++ b/hw/vga-pci.c
@@ -53,10 +53,10 @@ static void vga_map(PCIDevice *pci_dev, int region_num,
     PCIVGAState *d = (PCIVGAState *)pci_dev;
     VGACommonState *s = &d->vga;
 
-    cpu_register_physical_memory(addr, s->vram_size, s->vram_offset);
+    cpu_register_physical_memory_log(addr, s->vram_size, s->vram_offset, 0,
+                                     true);
     s->map_addr = addr;
     s->map_end = addr + s->vram_size;
-    vga_dirty_log_start(s);
 }
 
 static void pci_vga_write_config(PCIDevice *d,
-- 
1.7.1


Reply via email to