[xen master] x86/VT-x: Fix printing of EFER in vmcs_dump_vcpu()
Author: Andrew Cooper <[hidden email]>
AuthorDate: Thu May 31 16:57:47 2018 +0100
Commit: Andrew Cooper <[hidden email]>
CommitDate: Tue Jun 5 11:55:51 2018 +0100
x86/VT-x: Fix printing of EFER in vmcs_dump_vcpu()
This is essentially a "take 2" of c/s 82540b66ce "x86/VT-x: Fix determination
of EFER.LMA in vmcs_dump_vcpu()" because in hindight, that change was more
problematic than useful.
The original reason was to fix the logic for determining when not to print the
PDPTE pointers. However, mutating the efer variable (particularly LME and
LMA) before printing it interferes with diagnosing vmentry failures.
Instead of modifying efer, change the PDPTE conditional to use