diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-18 13:41:32 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-18 13:41:32 +0100 |
| commit | d55c9d4009c7622e081cbe599c673076b9854ea1 (patch) | |
| tree | 16eaaceba5ca4351c290e97af546fe5b29b4ae61 /tools/testing/selftests/kvm/lib/test_util.c | |
| parent | KVM: x86: Expose AVX512 VP2INTERSECT in cpuid for TGL (diff) | |
| download | linux-d55c9d4009c7622e081cbe599c673076b9854ea1.tar.gz linux-d55c9d4009c7622e081cbe599c673076b9854ea1.zip | |
KVM: nSVM: check for EFER.SVME=1 before entering guest
EFER is set for L2 using svm_set_efer, which hardcodes EFER_SVME to 1 and hides
an incorrect value for EFER.SVME in the L1 VMCB. Perform the check manually
to detect invalid guest state.
Reported-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/test_util.c')
0 files changed, 0 insertions, 0 deletions
