On Fri, 5 Feb 2021 at 10:31, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > 1/ virtio-mmio must be sysbus-device,
Yes. > 2/ we can not sysbus-map out of main memory so private container > is incorrect, and Versal can not use "mr-ps-switch"? No. If you have a sysbus device, and you want to map it somewhere other than into system-memory-map, you can do that: you use sysbus_mmio_get_region() to get the MemoryRegion*, and then map it into whatever container you need with memory_region_add_subregion(). thanks -- PMM