hw/misc/empty_slot: Lower address space priority
Empty slots model RAZ/WI access on a bus. Since we can still (hot) plug devices on the bus, lower the slot priority, so device added later is accessed first. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> Message-Id: <20200510152840.13558-3-f4bug@amsat.org>
This commit is contained in:
parent
077f0f3dad
commit
6c339493c8
|
@ -67,7 +67,7 @@ void empty_slot_init(hwaddr addr, uint64_t slot_size)
|
||||||
|
|
||||||
qdev_init_nofail(dev);
|
qdev_init_nofail(dev);
|
||||||
|
|
||||||
sysbus_mmio_map(s, 0, addr);
|
sysbus_mmio_map_overlap(s, 0, addr, -10000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue