9136f661c7
Reproduce issue with
configure --enable-qom-cast-debug ...
qemu-system-x86_64 -display none -machine q35,cxl=on -device pxb-cxl,bus=pcie.0
hw/pci-bridge/pci_expander_bridge.c:54:PXB_DEV: Object 0x5570e0b1ada0 is not an instance of type pxb
Aborted
The type conversion results in the right state structure, but PXB_DEV is
not a parent of PXB_CXL_DEV hence the error. Rather than directly
cleaning up the inheritance, this is the minimal fix which will be
followed by the cleanup.
Fixes:
|
||
---|---|---|
.. | ||
cxl_downstream.c | ||
cxl_root_port.c | ||
cxl_upstream.c | ||
gen_pcie_root_port.c | ||
i82801b11.c | ||
ioh3420.c | ||
Kconfig | ||
meson.build | ||
pci_bridge_dev.c | ||
pci_expander_bridge_stubs.c | ||
pci_expander_bridge.c | ||
pcie_pci_bridge.c | ||
pcie_root_port.c | ||
simba.c | ||
xio3130_downstream.c | ||
xio3130_upstream.c |