Simplify the XHCI based devices 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.
Philippe Mathieu-Daudé (3): hw/pci: Introduce pci_dma_memory_region() helper hw/usb/hcd-xhci-pci: Abort if setting link property failed hw/usb/xhci: Always expect 'dma' link property to be set hw/usb/hcd-xhci.h | 2 +- include/hw/pci/pci.h | 5 +++++ hw/i386/microvm.c | 2 ++ hw/usb/hcd-xhci-pci.c | 5 +++-- hw/usb/hcd-xhci-sysbus.c | 13 ++++++------- hw/usb/hcd-xhci.c | 20 ++++++++++---------- 6 files changed, 27 insertions(+), 20 deletions(-) -- 2.31.1