aboutsummaryrefslogtreecommitdiffstats
path: root/hw/vga-pci.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-08-16 08:27:39 -0700
committerAvi Kivity <avi@redhat.com>2011-10-11 15:57:10 +0200
commit0a039dc70096b768d3810afa50ba1d214768aaf4 (patch)
tree6f47043cf7b2913ffb82d0eed6d4bb7da643ef47 /hw/vga-pci.c
parent42c1a22de73bcf82c3d4fb4fa18e1a70fd67561e (diff)
vga: Convert to isa_register_portio_list
[jan: fix cut'n'paste errors] [avi: adjust pci variants not to use isa functions] Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/vga-pci.c')
-rw-r--r--hw/vga-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vga-pci.c b/hw/vga-pci.c
index 3c8bcb00b..14bfadbfc 100644
--- a/hw/vga-pci.c
+++ b/hw/vga-pci.c
@@ -54,7 +54,7 @@ static int pci_vga_initfn(PCIDevice *dev)
// vga + console init
vga_common_init(s, VGA_RAM_SIZE);
- vga_init(s, pci_address_space(dev));
+ vga_init(s, pci_address_space(dev), pci_address_space_io(dev), true);
s->ds = graphic_console_init(s->update, s->invalidate,
s->screen_dump, s->text_update, s);