diff options
author | 2021-03-09 14:42:06 -0800 | |
---|---|---|
committer | 2021-03-15 04:44:07 -0400 | |
commit | c834e5e44fc15acd4e8a894d462535021c80533e (patch) | |
tree | 417ff8cf6f3c85b680ecd4bc97e1269f3a690c4d /arch/x86/kvm/svm/nested.c | |
parent | KVM: VMX: Track root HPA instead of EPTP for paravirt Hyper-V TLB flush (diff) | |
download | linux-dev-c834e5e44fc15acd4e8a894d462535021c80533e.tar.xz linux-dev-c834e5e44fc15acd4e8a894d462535021c80533e.zip |
KVM: x86/mmu: Use '0' as the one and only value for an invalid PAE root
Use '0' to denote an invalid pae_root instead of '0' or INVALID_PAGE.
Unlike root_hpa, the pae_roots hold permission bits and thus are
guaranteed to be non-zero. Having to deal with both values leads to
bugs, e.g. failing to set back to INVALID_PAGE, warning on the wrong
value, etc...
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210309224207.1218275-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions