Re: [PATCH v2 4/4] hw/dma/xlnx-zdma Always expect 'dma' link property to be set

2021-08-20 Thread Peter Maydell
On Thu, 19 Aug 2021 at 17:34, Philippe Mathieu-Daudé wrote: > > Simplify by always passing a MemoryRegion property to the device. > Doing so we can move the AddressSpace field to the device struct, > removing need for heap allocation. > > Update the Xilinx ZynqMP / Versal SoC models to pass the de

[PATCH v2 4/4] hw/dma/xlnx-zdma Always expect 'dma' link property to be set

2021-08-19 Thread Philippe Mathieu-Daudé
Simplify by always passing a MemoryRegion property to the device. Doing so we can move the AddressSpace field to the device struct, removing need for heap allocation. Update the Xilinx ZynqMP / Versal SoC models to pass the default system memory instead of a NULL value. Suggested-by: Peter Maydel