kvm-unit-tests vmx failed

Host environment

  • Operating system: CentOS 9
  • OS/kernel version: 6.10.0-rc2
  • Architecture: x86_64
  • QEMU flavor: qemu-system-x86_64
  • QEMU version: 9.0.50 (v9.0.0-773-gba67809059)
  • QEMU command line:

Emulated/Virtualized environment

  • Operating system: CentOS 9
  • OS/kernel version: 6.10.0-rc4
  • Architecture: x86_64

Description of problem

On the Sierra Forest platform, the vmx test in kvm-unit-tests failed. But this issue cannot be replicated on Emerald Rapids platform.

The first bad commit is ba678090.

Steps to reproduce

1.git clone https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git

2.cd kvm-unit-tests; ./configure

3.make standalone

4.rmmod kvm_intel

5.modprobe kvm_intel nested=Y allow_smaller_maxphyaddr=Y

6.cd tests; ./vmx

Additional information

... FAIL: HOST_CR3 2000000001007000: vmlaunch fails

FAIL: HOST_CR3 4000000001007000: vmlaunch fails ...

SUMMARY: 430013 tests, 2 unexpected failures, 2 expected failures, 5 skipped

FAIL vmx (430013 tests, 2 unexpected failures, 2 expected failures, 5 skipped)

error.log

Edited by Xiangfei Ma
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information