diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-02-03 04:33:32 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-02-03 04:33:32 +0000 |
commit | 45e4522e2e44651231551d8198a25efae716ab2b (patch) | |
tree | f16d485ec2c480a89b1693b10c17c29a37680570 /hw/pc.c | |
parent | 59faef3a48648be8b2b88868d9897e710ce88a4e (diff) |
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
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |