commit | bf03d4f9334728bf7c8ffc7de787df48abd6340e | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 06 18:52:44 2019 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 18 11:47:38 2019 +0200 |
tree | 43104c3883abc622b5678b0878dc75b51b6dbd29 | |
parent | c27e5b0d139b8728abd6b087cb0d3b2eae6ab079 [diff] |
KVM: x86: introduce is_pae_paging Checking for 32-bit PAE is quite common around code that fiddles with the PDPTRs. Add a function to compress all checks into a single invocation. Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>