aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/test_m68k_tuxrun.py
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2025-08-04 17:20:07 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-08-05 17:30:45 +0200
commiteb013cd6a11951a8d76e737e9f6e89c96b059b48 (patch)
treecd3da46d2e089258be0edc62dd2f7650de4e4ea9 /tests/functional/test_m68k_tuxrun.py
parent4e5d58969ed6927a7f1b08ba6223c34c8b990c92 (diff)
downloadqemu-eb013cd6a11951a8d76e737e9f6e89c96b059b48.zip
qemu-eb013cd6a11951a8d76e737e9f6e89c96b059b48.tar.gz
qemu-eb013cd6a11951a8d76e737e9f6e89c96b059b48.tar.bz2
hw/i386/microvm: Explicitly select ACPI_PCI
With a microvm-only build based on a custom device config, we get a link failure due to undefined reference to build_pci_host_bridge_osc_method() which is defined in hw/acpi/pci.c and whose compilation depends on CONFIG_ACPI_PCI. Although CONFIG_ACPI and CONFIG_PCI are set with such configuration, implied CONFIG_ACPI_PCI in config PCI_EXPRESS_GENERIC_BRIDGE is not selected as expected. It Looks like CONFIG_ACPI_PCI must be enforced and this patch selects CONFIG_ACPI_PCI in MICROVM config directly as done for PC config. Reproducer: ../configure \ --without-default-features \ --target-list=x86_64-softmmu \ --enable-kvm --disable-tcg \ --enable-pixman \ --enable-vnc \ --audio-drv-list="" \ --without-default-devices \ --with-devices-x86_64=microvm \ --enable-vhost-user with configs/devices/x86_64-softmmu/microvm.mak: CONFIG_PCI_DEVICES=n CONFIG_MICROVM=y CONFIG_VIRTIO_BLK=y CONFIG_VIRTIO_SERIAL=y CONFIG_VIRTIO_INPUT=y CONFIG_VIRTIO_INPUT_HOST=y CONFIG_VHOST_USER_INPUT=y CONFIG_VIRTIO_NET=y CONFIG_VIRTIO_SCSI=y CONFIG_VIRTIO_RNG=y CONFIG_VIRTIO_CRYPTO=y CONFIG_VIRTIO_BALLOON=y CONFIG_VIRTIO_GPU=y CONFIG_VHOST_USER_GPU=y FAILED: qemu-system-x86_64 cc -m64 @qemu-system-x86_64.rsp /usr/bin/ld: libsystem.a.p/hw_pci-host_gpex-acpi.c.o: in function `acpi_dsdt_add_host_bridge_methods': hw/pci-host/gpex-acpi.c:83:(.text+0x274): undefined reference to `build_pci_host_bridge_osc_method' collect2: error: ld returned 1 exit status Fixes: af151d50eac24 "hw/pci-host/gpex-acpi: Use build_pci_host_bridge_osc_method" Signed-off-by: Eric Auger <eric.auger@redhat.com> Reported-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Message-ID: <20250804152008.247673-1-eric.auger@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'tests/functional/test_m68k_tuxrun.py')
0 files changed, 0 insertions, 0 deletions