Re: [RFC PATCH] hw/pci-bridge: Fix release ordering by embedding PCIBridgeWindows within PCIBridge

2023-04-21 Thread Jonathan Cameron via
On Fri, 21 Apr 2023 08:26:43 +0200 Philippe Mathieu-Daudé wrote: > Hi Jonathan, > > On 20/4/23 16:59, Jonathan Cameron via wrote: > > The lifetime of the PCIBridgeWindows instance accessed via the windows > > pointer > > in struct PCIBridge is managed separately from the PCIBridge itself. > >

Re: [RFC PATCH] hw/pci-bridge: Fix release ordering by embedding PCIBridgeWindows within PCIBridge

2023-04-21 Thread Philippe Mathieu-Daudé
Hi Jonathan, On 20/4/23 16:59, Jonathan Cameron via wrote: The lifetime of the PCIBridgeWindows instance accessed via the windows pointer in struct PCIBridge is managed separately from the PCIBridge itself. Triggered by ./qemu-system-x86_64 -M x-remote -display none -monitor stdio QEMU

Re: [PATCH] hw/pci-bridge: Fix release ordering by embedding PCIBridgeWindows within PCIBridge

2023-04-20 Thread Jonathan Cameron via
This was intended to be [RFC] for reasons given below. + I failed to CC Thomas who reported the issue. Not my finest hour. On Thu, 20 Apr 2023 15:59:37 +0100 Jonathan Cameron wrote: > The lifetime of the PCIBridgeWindows instance accessed via the windows pointer > in struct PCIBridge is

[PATCH] hw/pci-bridge: Fix release ordering by embedding PCIBridgeWindows within PCIBridge

2023-04-20 Thread Jonathan Cameron via
The lifetime of the PCIBridgeWindows instance accessed via the windows pointer in struct PCIBridge is managed separately from the PCIBridge itself. Triggered by ./qemu-system-x86_64 -M x-remote -display none -monitor stdio QEMU monitor: device_add cxl-downstream In some error handling paths