OSDN Git Service

KVM: x86: dump_vmcs should consider only the load controls of EFER/PAT
authorDavid Edmondson <david.edmondson@oracle.com>
Thu, 18 Mar 2021 12:08:39 +0000 (12:08 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:31:00 +0000 (08:31 -0400)
commit5518da62d433ccee53d39e98c4afe353132b1f56
tree5bd8bd249f895112e4ba1399411c2fb092388f0b
parent699e1b2e557810ad8596971b969ddcd7712dfd70
KVM: x86: dump_vmcs should consider only the load controls of EFER/PAT

When deciding whether to dump the GUEST_IA32_EFER and GUEST_IA32_PAT
fields of the VMCS, examine only the VM entry load controls, as saving
on VM exit has no effect on whether VM entry succeeds or fails.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Edmondson <david.edmondson@oracle.com>
Message-Id: <20210318120841.133123-4-david.edmondson@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c