summaryrefslogtreecommitdiff
path: root/hw/display/vmware_vga.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-06-06 21:21:13 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-04 17:42:46 +0200
commit831183277318395ecd02f2fe2423f5fe983ed96a (patch)
treeee16f7260421976f0f4452c5cd9d541b301fdc79 /hw/display/vmware_vga.c
parent9eb58a473b615d9d6d26ee8e568eeb2e67d8e274 (diff)
downloadqemu-831183277318395ecd02f2fe2423f5fe983ed96a.tar.gz
qemu-831183277318395ecd02f2fe2423f5fe983ed96a.tar.bz2
qemu-831183277318395ecd02f2fe2423f5fe983ed96a.zip
vga: pass owner to vga_init_vbe
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/vmware_vga.c')
-rw-r--r--hw/display/vmware_vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c
index ce97870c17..714908f44c 100644
--- a/hw/display/vmware_vga.c
+++ b/hw/display/vmware_vga.c
@@ -1272,7 +1272,7 @@ static int pci_vmsvga_initfn(PCIDevice *dev)
if (!dev->rom_bar) {
/* compatibility with pc-0.13 and older */
- vga_init_vbe(&s->chip.vga, pci_address_space(dev));
+ vga_init_vbe(&s->chip.vga, OBJECT(dev), pci_address_space(dev));
}
return 0;