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 | c84b28eeea1ab3f90e619b6af63e7db770c579ec (patch) | |
tree | 21bfa435431b147175326e4bbccdd71888d88be8 /hw/display/vga-isa.c | |
parent | 831183277318395ecd02f2fe2423f5fe983ed96a (diff) | |
download | qemu-c84b28eeea1ab3f90e619b6af63e7db770c579ec.zip |
vga: pass owner to vga_init_io
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/vga-isa.c')
-rw-r--r-- | hw/display/vga-isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga-isa.c b/hw/display/vga-isa.c index 5f253a9a49..8d560ecef0 100644 --- a/hw/display/vga-isa.c +++ b/hw/display/vga-isa.c @@ -58,7 +58,7 @@ static void vga_isa_realizefn(DeviceState *dev, Error **errp) vga_common_init(s, OBJECT(dev)); s->legacy_address_space = isa_address_space(isadev); - vga_io_memory = vga_init_io(s, &vga_ports, &vbe_ports); + vga_io_memory = vga_init_io(s, OBJECT(dev), &vga_ports, &vbe_ports); isa_register_portio_list(isadev, 0x3b0, vga_ports, s, "vga"); if (vbe_ports) { isa_register_portio_list(isadev, 0x1ce, vbe_ports, s, "vbe"); |