Parent: 54210e0210d464de0ae6d645228ec586b80dd15d
Author: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-02-13 19:38:11
Tree: 9dc1f8fc8dc1f8228f66e1165b604adb42c759ab
test-runner: Use host CPU when starting VM When running test-runner on Ubuntu 24.04 with mainline kernel compiled from Ubuntu default configuration with applied tester.config options, the QEMU is not able to start the test-runner application due to illegal instruction. Passing '-cpu host' fixes that issue. > $ tools/test-runner -k linux/arch/x86/boot/bzImage -- tools/mgmt-tester > Using QEMU binary /usr/bin/qemu-system-x86_64 > Using kernel image [...]/linux/arch/x86/boot/bzImage > Found support for Virtual Machine eXtensions > [...] > [ 0.000000] Linux version 6.14.0-rc2+ (gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 [...] > [...] > Running command tools/mgmt-tester > New process 74 created > Illegal instruction > Process 74 exited with status 132 > [ 0.881239] reboot: Restarting system > [ 0.881431] reboot: machine restart Potential caveat: In case when the KVM is not available on the host, the QEMU will not start with the warning: CPU model 'host' requires KVM or HVF
Diffstat
| M | tools/test-runner.c | | | 1 | + |
1 files changed, 1 insertions(+), 0 deletions(-)