Fix VMware VGA init call (Anthony Liguori).

s/vga_ram_size/vga_ram_addr/


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3957 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2008-02-03 04:33:32 +00:00
parent 59faef3a48
commit 45e4522e2e
1 changed files with 2 additions and 2 deletions

View File

@ -868,8 +868,8 @@ static void pc_init1(int ram_size, int vga_ram_size,
}
} else if (vmsvga_enabled) {
if (pci_enabled)
pci_vmsvga_init(pci_bus, ds, phys_ram_base + ram_size,
ram_size, vga_ram_size);
pci_vmsvga_init(pci_bus, ds, phys_ram_base + vga_ram_addr,
vga_ram_addr, vga_ram_size);
else
fprintf(stderr, "%s: vmware_vga: no PCI bus\n", __FUNCTION__);
} else {