Commit 45e4522e2e44651231551d8198a25efae716ab2b

Authored by balrog
1 parent 59faef3a

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
Showing 1 changed file with 2 additions and 2 deletions
... ... @@ -868,8 +868,8 @@ static void pc_init1(int ram_size, int vga_ram_size,
868 868 }
869 869 } else if (vmsvga_enabled) {
870 870 if (pci_enabled)
871   - pci_vmsvga_init(pci_bus, ds, phys_ram_base + ram_size,
872   - ram_size, vga_ram_size);
  871 + pci_vmsvga_init(pci_bus, ds, phys_ram_base + vga_ram_addr,
  872 + vga_ram_addr, vga_ram_size);
873 873 else
874 874 fprintf(stderr, "%s: vmware_vga: no PCI bus\n", __FUNCTION__);
875 875 } else {
... ...