diff options
author | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | 2021-12-03 00:10:13 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-09 18:44:39 +0100 |
commit | ee3a4f666207b5a9d3d4bc7f45c9d59f2aeb3a0d (patch) | |
tree | 8e2e0bf3156f7265865df1434db32626ade98904 /arch/x86/include/asm/kvm_host.h | |
parent | KVM: nVMX: Don't use Enlightened MSR Bitmap for L3 (diff) | |
download | linux-ee3a4f666207b5a9d3d4bc7f45c9d59f2aeb3a0d.tar.xz linux-ee3a4f666207b5a9d3d4bc7f45c9d59f2aeb3a0d.zip |
KVM: x86: selftests: svm_int_ctl_test: fix intercept calculation
INTERCEPT_x are bit positions, but the code was using the raw value of
INTERCEPT_VINTR (4) instead of BIT(INTERCEPT_VINTR).
This resulted in masking of bit 2 - that is, SMI instead of VINTR.
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <49b9571d25588870db5380b0be1a41df4bbaaf93.1638486479.git.maciej.szmigiero@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions