diff options
author | Jim Mattson <jmattson@google.com> | 2020-06-04 01:56:19 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-08 22:21:43 +0200 |
commit | 242636343c246e338b8ea317e32dbf4ed47edc65 (patch) | |
tree | cbd1870692f4954fd95cafc256245f04cf7642e4 /arch/x86/purgatory | |
parent | kvm: svm: Prefer vcpu->cpu to raw_smp_processor_id() (diff) | |
download | linux-242636343c246e338b8ea317e32dbf4ed47edc65.tar.xz linux-242636343c246e338b8ea317e32dbf4ed47edc65.zip |
kvm: svm: Always set svm->last_cpu on VMRUN
Previously, this field was only set when using SEV. Set it for all
vCPU configurations, so that it can be communicated to userspace for
diagnosing potential hardware errors.
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-3-jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/purgatory')
0 files changed, 0 insertions, 0 deletions