From 53d6e682552c981207a38f6c794c47320e95e0d0 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 21 Sep 2011 20:49:31 +0200 Subject: [PATCH] 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 Signed-off-by: Anthony Liguori --- hw/vga-isa.c | 1 + 1 file changed, 1 insertion(+) 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,