Make sure to enable dirty log tracking for VMware VGA
This is needed for VMware VGA to work properly under KVM.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit ee3e41a9a0
)
This commit is contained in:
parent
3c547d7bb7
commit
a1497a782c
|
@ -1169,6 +1169,10 @@ static void pci_vmsvga_map_mem(PCIDevice *pci_dev, int region_num,
|
||||||
#endif
|
#endif
|
||||||
cpu_register_physical_memory(s->vram_base, s->vga.vram_size,
|
cpu_register_physical_memory(s->vram_base, s->vga.vram_size,
|
||||||
iomemtype);
|
iomemtype);
|
||||||
|
|
||||||
|
s->vga.map_addr = addr;
|
||||||
|
s->vga.map_end = addr + s->vga.vram_size;
|
||||||
|
vga_dirty_log_start(&s->vga);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pci_vmsvga_map_fifo(PCIDevice *pci_dev, int region_num,
|
static void pci_vmsvga_map_fifo(PCIDevice *pci_dev, int region_num,
|
||||||
|
|
Loading…
Reference in New Issue