WHPX won't enable x86_64v3 level instructions

Host environment

  • Operating system: Windows 11
  • OS/kernel version: 24H2
  • Architecture: x86_64
  • Host CPU: Intel Tigerlake (11th gen Core i7)
  • QEMU flavor: qemu-system-x86_64
  • QEMU version: 9.2.0
  • QEMU command line:
    qemu-system-x86_64.exe -machine q35,accel=whpx -m 8192 -smp 4 -cpu qemu64,check,+aes,+popcnt,+pni,+sse4.1,+sse4.2,+ssse3,+avx,+avx2,+bmi1,+bmi2,+f16c,+fma,+abm,+movbe,+xsave -cdrom Fedora-Workstation-Live-x86_64-41-1.4.iso
    same with Skylake-Client CPU (x86_64v3 level hardware) type
    qemu-system-x86_64.exe -machine q35,accel=whpx -m 8192 -smp 4 -cpu Skylake-Client-v4,check,+aes,+popcnt,+pni,+sse4.1,+sse4.2,+ssse3,+avx,+avx2,+bmi1,+bmi2,+f16c,+fma,+abm,+movbe,+xsave -cdrom Fedora-Workstation-Live-x86_64-41-1.4.iso

Emulated/Virtualized environment

  • Operating system: Fedora 41
  • OS/kernel version: 41 Workstation Live
  • Architecture: x86_64

Description of problem

x86_64v3 support is not available inside guest

Steps to reproduce

  1. Boot the image
  2. Open terminal
  3. Run /lib64/ld-linux-x86-64.so.2 --help and check which levels are available in the output
  4. Or run /lib64/ld-linux-x86-64.so.2 --list-diagnostics | grep isa and check isa_1 value (expected 7 for v3 (3 bits being set))

Additional information

Due to this some Linux distribution, like Centos Stream 10, will not be able to boot with WHPX acceleration enabled.

Edited by Arthur S