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>
This commit is contained in:
parent
57285cc3c6
commit
53d6e68255
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user