diff options
| author | Sean Christopherson <[email protected]> | 2020-04-15 13:34:50 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-04-21 09:13:06 -0400 |
| commit | 9932b49e5abef0218254d15b8278e3dbee5ceea3 (patch) | |
| tree | 1fd2a3cae927158f857660b31856e3a9cbaab90f /tools/perf/scripts/python/bin | |
| parent | 4dcefa312a6c1cc2aa2dd8a9ba76d97d63b3bd17 (diff) | |
KVM: nVMX: Invoke ept_save_pdptrs() if and only if PAE paging is enabled
Invoke ept_save_pdptrs() when restoring L1's host state on a "late"
VM-Fail if and only if PAE paging is enabled. This saves a CALL in the
common case where L1 is a 64-bit host, and avoids incorrectly marking
the PDPTRs as dirty.
WARN if ept_save_pdptrs() is called with PAE disabled now that the
nested usage pre-checks is_pae_paging(). Barring a bug in KVM's MMU,
attempting to read the PDPTRs with PAE disabled is now impossible.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions