From d8e24d76198a695dc9df4248261d0dc443601331 Mon Sep 17 00:00:00 2001 From: tabris Date: Wed, 11 Feb 2026 13:07:41 -0500 Subject: [PATCH] framework run_host_x86_binary_logged - unset QEMU_CPU --- lib/functions/logging/runners.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/functions/logging/runners.sh b/lib/functions/logging/runners.sh index 105d4a6510..dedb66ed38 100644 --- a/lib/functions/logging/runners.sh +++ b/lib/functions/logging/runners.sh @@ -192,7 +192,8 @@ function run_host_x86_binary_logged() { else display_alert "Not using qemu for running x86 binary on $(uname -m)" "$1 (${target_bin_arch})" "debug" fi - run_host_command_logged "${qemu_invocation[@]}" # Exit with this result code + # `env -u QEMU_CPU` will unset any possible specified CPUs to emulate, as in config/sources/arm64.conf + run_host_command_logged env -u QEMU_CPU "${qemu_invocation[@]}" # Exit with this result code } # Run simple and exit with it's code. Exactly the same as run_host_command_logged(). Used to have pv pipe, but that causes chaos.