-
- Downloads
kvm: x86: Add "last CPU" to some KVM_EXIT information
More often than not, a failed VM-entry in an x86 production environment is induced by a defective CPU. To help identify the bad hardware, include the id of the last logical CPU to run a vCPU in the information provided to userspace on a KVM exit for failed VM-entry or for KVM internal errors not associated with emulation. The presence of this additional information is indicated by a new capability, KVM_CAP_LAST_CPU. Signed-off-by:Jim Mattson <jmattson@google.com> Reviewed-by:
Oliver Upton <oupton@google.com> Reviewed-by:
Peter Shier <pshier@google.com> Message-Id: <20200603235623.245638-5-jmattson@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- Documentation/virt/kvm/api.rst 1 addition, 0 deletionsDocumentation/virt/kvm/api.rst
- arch/x86/kvm/svm/svm.c 3 additions, 1 deletionarch/x86/kvm/svm/svm.c
- arch/x86/kvm/vmx/vmx.c 8 additions, 2 deletionsarch/x86/kvm/vmx/vmx.c
- arch/x86/kvm/x86.c 1 addition, 0 deletionsarch/x86/kvm/x86.c
- include/uapi/linux/kvm.h 2 additions, 0 deletionsinclude/uapi/linux/kvm.h
Loading
Please register or sign in to comment