linux/tools/testing/selftests/kvm
Wei Huang ca35906688 kvm: selftests: add cr4_cpuid_sync_test
KVM is supposed to update some guest VM's CPUID bits (e.g. OSXSAVE) when
CR4 is changed. A bug was found in KVM recently and it was fixed by
Commit c4d2188206 ("KVM: x86: Update cpuid properly when CR4.OSXAVE or
CR4.PKE is changed"). This patch adds a test to verify the synchronization
between guest VM's CR4 and CPUID bits.

Signed-off-by: Wei Huang <wei@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-08-06 17:31:59 +02:00
..
include KVM: selftests: exit with 0 status code when tests cannot be run 2018-05-11 11:21:12 +02:00
lib selftests: kvm: return Kselftest Skip code for skipped tests 2018-05-30 15:29:05 -06:00
.gitignore kvm: selftests: add cr4_cpuid_sync_test 2018-08-06 17:31:59 +02:00
cr4_cpuid_sync_test.c kvm: selftests: add cr4_cpuid_sync_test 2018-08-06 17:31:59 +02:00
Makefile kvm: selftests: add cr4_cpuid_sync_test 2018-08-06 17:31:59 +02:00
set_sregs_test.c
sync_regs_test.c KVM: selftests: exit with 0 status code when tests cannot be run 2018-05-11 11:21:12 +02:00
vmx_tsc_adjust_test.c selftests: kvm: return Kselftest Skip code for skipped tests 2018-05-30 15:29:05 -06:00