KVM: x86: dump_vmcs should show the effective EFER
authorDavid Edmondson <david.edmondson@oracle.com>
Thu, 18 Mar 2021 12:08:40 +0000 (12:08 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:31:00 +0000 (08:31 -0400)
commit0702a3cbbf735a0ae67fb336590f75be37f01efe
tree870d92c09576956ad1cb86701f53c45439c70eab
parent5518da62d433ccee53d39e98c4afe353132b1f56
KVM: x86: dump_vmcs should show the effective EFER

If EFER is not being loaded from the VMCS, show the effective value by
reference to the MSR autoload list or calculation.

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