aboutsummaryrefslogtreecommitdiff
path: root/hw/vga-isa.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-09-21 20:49:31 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-23 10:55:33 -0500
commit53d6e682552c981207a38f6c794c47320e95e0d0 (patch)
tree68676af3d147632a761b32fc748c267fd894edcf /hw/vga-isa.c
parent57285cc3c6275d6fd2397e4a3fa077786f03b6f3 (diff)
downloadqemu-53d6e682552c981207a38f6c794c47320e95e0d0.zip
qemu-53d6e682552c981207a38f6c794c47320e95e0d0.tar.gz
qemu-53d6e682552c981207a38f6c794c47320e95e0d0.tar.bz2
vga: Unbreak ISA support
We need to initialize legacy_address_space during ISA VGA setup so that the chain-4 alias can be registered properly. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vga-isa.c')
-rw-r--r--hw/vga-isa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vga-isa.c b/hw/vga-isa.c
index 0d19901..6b5c8ed 100644
--- a/hw/vga-isa.c
+++ b/hw/vga-isa.c
@@ -49,6 +49,7 @@ static int vga_initfn(ISADevice *dev)
MemoryRegion *vga_io_memory;
vga_common_init(s, VGA_RAM_SIZE);
+ s->legacy_address_space = isa_address_space(dev);
vga_io_memory = vga_init_io(s);
memory_region_add_subregion_overlap(isa_address_space(dev),
isa_mem_base + 0x000a0000,