On 08/10/2020 20.24, Paolo Bonzini wrote:
Il gio 8 ott 2020, 20:05 Richard Henderson <richard.henderson@linaro.org
<mailto:richard.henderson@linaro.org>> ha scritto:
Ah, TARGET_DIRS isn't being pruned anymore when a target is disabled for
lack
of accelerator.
Paolo, side effect of 8a19980e3f ("configure: move accelerator logic to
meson")? I guess we should move the setting of TARGET_DIRS to meson as
well.
TARGET_DIRS is pruned by Meson, I didn't add any back propagation to make
because it is not really needed; qemu-iotests only every uses the "host
architecture" QEMU binary (see tests/qemu-iotests/common.config),
check-block + --target-list has never worked.
I haven't tried since the meson conversion, but at least a couple of months
ago, it was perfectly fine to run configure with
--target-list=tricore-softmmu and then to run "make check-block" afterwards.
That qemu_arch setting from tests/qemu-iotests/common.config is just used
for the preferred binary, but if it is not available,
tests/qemu-iotests/check falls back to any other qemu-system-xxx binary that
it can find.