projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0138a6
)
Make sure to enable dirty log tracking for VMware VGA
author
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 17 Dec 2009 22:08:08 +0000
(08:08 +1000)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 18 Dec 2009 17:26:32 +0000
(11:26 -0600)
This is needed for VMware VGA to work properly under KVM.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vmware_vga.c
patch
|
blob
|
history
diff --git
a/hw/vmware_vga.c
b/hw/vmware_vga.c
index 07befc85dec9ccd44af5364f15daacbc00443565..fcb680878dace255a491d76ac5de945fbdf492e5 100644
(file)
--- a/
hw/vmware_vga.c
+++ b/
hw/vmware_vga.c
@@
-1169,6
+1169,10
@@
static void pci_vmsvga_map_mem(PCIDevice *pci_dev, int region_num,
#endif
cpu_register_physical_memory(s->vram_base, s->vga.vram_size,
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,