[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/4] vga: Unbreak ISA support
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH 3/4] vga: Unbreak ISA support |
Date: |
Wed, 21 Sep 2011 20:49:31 +0200 |
From: Jan Kiszka <address@hidden>
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 <address@hidden>
---
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 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,
--
1.7.3.4