aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga-pci.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/vga-pci.c
parent9eb58a473b615d9d6d26ee8e568eeb2e67d8e274 (diff)
downloadqemu-831183277318395ecd02f2fe2423f5fe983ed96a.zip
qemu-831183277318395ecd02f2fe2423f5fe983ed96a.tar.gz
qemu-831183277318395ecd02f2fe2423f5fe983ed96a.tar.bz2
vga: pass owner to vga_init_vbe
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/vga-pci.c')
-rw-r--r--hw/display/vga-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c
index 62652bd..3e150ab 100644
--- a/hw/display/vga-pci.c
+++ b/hw/display/vga-pci.c
@@ -173,7 +173,7 @@ static int pci_std_vga_initfn(PCIDevice *dev)
if (!dev->rom_bar) {
/* compatibility with pc-0.13 and older */
- vga_init_vbe(s, pci_address_space(dev));
+ vga_init_vbe(s, OBJECT(dev), pci_address_space(dev));
}
return 0;