diff options
| author | David Edmondson <[email protected]> | 2021-03-18 12:08:37 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-04-17 08:30:59 -0400 |
| commit | d9e46d344e62a0d56fd86a8289db5bed8a57c92e (patch) | |
| tree | 4e53bee952764e124c70d133067bd490cc18c754 /tools/perf/scripts/python | |
| parent | adc2a23734acd607bdf30dc08ba8ffc5ee2a8c9d (diff) | |
KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid
If the VM entry/exit controls for loading/saving MSR_EFER are either
not available (an older processor or explicitly disabled) or not
used (host and guest values are the same), reading GUEST_IA32_EFER
from the VMCS returns an inaccurate value.
Because of this, in dump_vmcs() don't use GUEST_IA32_EFER to decide
whether to print the PDPTRs - always do so if the fields exist.
Fixes: 4eb64dce8d0a ("KVM: x86: dump VMCS on invalid entry")
Signed-off-by: David Edmondson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions