aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/.gitignore
diff options
context:
space:
mode:
authorWei Huang <wei@redhat.com>2018-06-25 23:41:57 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2018-08-06 17:31:59 +0200
commitca359066889f753ca6d54bb333b783e7a784c0d1 (patch)
treef701a35b3bfed46ef5bd30c1a1dcb465d9e670d9 /tools/testing/selftests/kvm/.gitignore
parentMerge tag 'v4.18-rc6' into HEAD (diff)
downloadlinux-dev-ca359066889f753ca6d54bb333b783e7a784c0d1.tar.xz
linux-dev-ca359066889f753ca6d54bb333b783e7a784c0d1.zip
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 c4d2188206ba ("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>
Diffstat (limited to 'tools/testing/selftests/kvm/.gitignore')
-rw-r--r--tools/testing/selftests/kvm/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kvm/.gitignore b/tools/testing/selftests/kvm/.gitignore
index 63fc1ab9248f..8fb7903f6643 100644
--- a/tools/testing/selftests/kvm/.gitignore
+++ b/tools/testing/selftests/kvm/.gitignore
@@ -1,3 +1,4 @@
+cr4_cpuid_sync_test
set_sregs_test
sync_regs_test
vmx_tsc_adjust_test