diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-09-21 20:49:31 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-23 10:55:33 -0500 |
commit | 53d6e682552c981207a38f6c794c47320e95e0d0 (patch) | |
tree | 68676af3d147632a761b32fc748c267fd894edcf /hw | |
parent | 57285cc3c6275d6fd2397e4a3fa077786f03b6f3 (diff) |
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')
-rw-r--r-- | hw/vga-isa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vga-isa.c b/hw/vga-isa.c index 0d199015d7..6b5c8ed970 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, |