summaryrefslogtreecommitdiffstats
path: root/hw/qxl.c
diff options
context:
space:
mode:
authorRichard Henderson2011-08-16 17:27:39 +0200
committerAvi Kivity2011-10-11 15:57:10 +0200
commit0a039dc70096b768d3810afa50ba1d214768aaf4 (patch)
tree6f47043cf7b2913ffb82d0eed6d4bb7da643ef47 /hw/qxl.c
parentsb16: Convert to isa_register_portio_list (diff)
downloadqemu-0a039dc70096b768d3810afa50ba1d214768aaf4.tar.gz
qemu-0a039dc70096b768d3810afa50ba1d214768aaf4.tar.xz
qemu-0a039dc70096b768d3810afa50ba1d214768aaf4.zip
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/qxl.c')
-rw-r--r--hw/qxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qxl.c b/hw/qxl.c
index 6db2f1a466..03848edb75 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1601,7 +1601,7 @@ static int qxl_init_primary(PCIDevice *dev)
ram_size = 32 * 1024 * 1024;
}
vga_common_init(vga, ram_size);
- vga_init(vga, pci_address_space(dev));
+ vga_init(vga, pci_address_space(dev), pci_address_space_io(dev), false);
register_ioport_write(0x3c0, 16, 1, qxl_vga_ioport_write, vga);
register_ioport_write(0x3b4, 2, 1, qxl_vga_ioport_write, vga);
register_ioport_write(0x3d4, 2, 1, qxl_vga_ioport_write, vga);