On Thu, 23 Apr 2026 19:02:14 +0200 Philippe Mathieu-Daudé <[email protected]> wrote:
> Add a stub for cxl_fmws_get_all_sorted() to fix building > a QEMU configured with the '--without-default-devices' option: > > Undefined symbols for architecture arm64: > "_cxl_fmws_get_all_sorted", referenced from: > _cxl_build_cedt in hw_acpi_cxl.c.o > > Note, the CXL <-> ACPI Kconfig relationship is a bit convoluted. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- Acked-by: Jonathan Cameron <[email protected]> > hw/cxl/cxl-host-stubs.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/hw/cxl/cxl-host-stubs.c b/hw/cxl/cxl-host-stubs.c > index c015baac813..9b515913ea4 100644 > --- a/hw/cxl/cxl-host-stubs.c > +++ b/hw/cxl/cxl-host-stubs.c > @@ -18,3 +18,8 @@ hwaddr cxl_fmws_set_memmap(hwaddr base, hwaddr max_addr) > void cxl_fmws_update_mmio(void) {}; > > const MemoryRegionOps cfmws_ops; > + > +GSList *cxl_fmws_get_all_sorted(void) > +{ > + g_assert_not_reached(); > +}
