diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-06 21:21:13 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-04 17:42:46 +0200 |
commit | 712f0cc777dc8abc1f43b8e2a5e65ab3ae563cbd (patch) | |
tree | fd3857d597c34cb68fcff14b4d9ed636e5ed3954 /hw/display/vga-pci.c | |
parent | 3cf63ff25c6f1bdac7cb153f87ff830e932ac2f5 (diff) | |
download | qemu-712f0cc777dc8abc1f43b8e2a5e65ab3ae563cbd.zip qemu-712f0cc777dc8abc1f43b8e2a5e65ab3ae563cbd.tar.gz qemu-712f0cc777dc8abc1f43b8e2a5e65ab3ae563cbd.tar.bz2 |
vga: pass owner to vga_init
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/vga-pci.c')
-rw-r--r-- | hw/display/vga-pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c index 23d5b56..4716230 100644 --- a/hw/display/vga-pci.c +++ b/hw/display/vga-pci.c @@ -148,7 +148,8 @@ static int pci_std_vga_initfn(PCIDevice *dev) /* vga + console init */ vga_common_init(s); - vga_init(s, pci_address_space(dev), pci_address_space_io(dev), true); + vga_init(s, OBJECT(dev), pci_address_space(dev), pci_address_space_io(dev), + true); s->con = graphic_console_init(DEVICE(dev), s->hw_ops, s); |