summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-06-22 13:05:29 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-24 11:47:56 -0400
commitef6a74b2e55e97daf4c7ba2d287878dc3f693b41 (patch)
treeefcb01d3e6b69963c3c4e3a857fef77b387b94f0 /virt
parentad5f16e422258d51414e7d8aaf856000eec9dfce (diff)
downloadlinux-ef6a74b2e55e97daf4c7ba2d287878dc3f693b41.tar.gz
linux-ef6a74b2e55e97daf4c7ba2d287878dc3f693b41.tar.xz
KVM: sefltests: Add x86-64 test to verify MMU reacts to CPUID updates
Add an x86-only test to verify that x86's MMU reacts to CPUID updates that impact the MMU. KVM has had multiple bugs where it fails to reconfigure the MMU after the guest's vCPU model changes. Sadly, this test is effectively limited to shadow paging because the hardware page walk handler doesn't support software disabling of GBPAGES support, and KVM doesn't manually walk the GVA->GPA on faults for performance reasons (doing so would large defeat the benefits of TDP). Don't require !TDP for the tests as there is still value in running the tests with TDP, even though the tests will fail (barring KVM hacks). E.g. KVM should not completely explode if MAXPHYADDR results in KVM using 4-level vs. 5-level paging for the guest. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210622200529.3650424-20-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions