[kvm-unit-tests PATCH v2 0/3] Fix test failures caused by CET KVM series

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CET KVM series causes sereral test cases fail due to:
1) New introduced constraints between CR0.WP and CR4.CET bits, i.e., setting
 CR4.CET == 1 fails if CR0.WP == 0, and setting CR0.WP == 0 fails if CR4.CET
== 1
2) New introduced support of VMX_BASIC[bit56], i.e., skipping HW consistent
check for event error code if the bit is set.

Opportunistically rename related struct and variable to avoid confusion.

Yang Weijiang (3):
  x86: VMX: Exclude CR4.CET from the test_vmxon_bad_cr()
  x86: VMX: Rename union vmx_basic and related global variable
  x86:VMX: Introduce new vmx_basic MSR feature bit for vmx tests

 x86/vmx.c       | 46 +++++++++++++++++++++++-----------------------
 x86/vmx.h       |  7 ++++---
 x86/vmx_tests.c | 31 ++++++++++++++++++++++---------
 3 files changed, 49 insertions(+), 35 deletions(-)

-- 
2.27.0




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux