KVM: x86: Print CPU of last attempted VM-entry when dumping VMCS/VMCB
authorJim Mattson <jmattson@google.com>
Mon, 21 Jun 2021 22:16:48 +0000 (15:16 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 08:31:13 +0000 (04:31 -0400)
commit18f63b15b0283d6f37be3174e2c7b6f2d6ed91cf
tree2150d97de154af57d2d8a4675c9c6f17acbf275e
parentc3ab0e28a437c213e5e2c1d890f3891b6952b9ca
KVM: x86: Print CPU of last attempted VM-entry when dumping VMCS/VMCB

Failed VM-entry is often due to a faulty core. To help identify bad
cores, print the id of the last logical processor that attempted
VM-entry whenever dumping a VMCS or VMCB.

Signed-off-by: Jim Mattson <jmattson@google.com>
Message-Id: <20210621221648.1833148-1-jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c