diff options
| author | 2022-07-15 23:00:15 +0000 | |
|---|---|---|
| committer | 2022-07-28 13:22:21 -0400 | |
| commit | 38bf9d7bf277bb40c4dceedd2b5eb87d02c36d5b (patch) | |
| tree | dd4b07988900c60d8455c5c777c1e6e9124c182a /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: x86: Drop unnecessary goto+label in kvm_arch_init() (diff) | |
| download | linux-dev-38bf9d7bf277bb40c4dceedd2b5eb87d02c36d5b.tar.xz linux-dev-38bf9d7bf277bb40c4dceedd2b5eb87d02c36d5b.zip | |
KVM: x86/mmu: Add shadow mask for effective host MTRR memtype
Add shadow_memtype_mask to capture that EPT needs a non-zero memtype mask
instead of relying on TDP being enabled, as NPT doesn't need a non-zero
mask. This is a glorified nop as kvm_x86_ops.get_mt_mask() returns zero
for NPT anyways.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220715230016.3762909-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
