If host supports Bus Lock Detect, KVM advertises it to guests even if
SVM support is absent. Additionally, guest wouldn't be able to use it
despite guest CPUID bit being set. Fix it by unconditionally clearing
the feature bit in KVM cpu capability.
Reported-by: Jim Mattson <jmattson@google.com>
Closes: https://lore.kernel.org/r/CALMp9eRet6+v8Y1Q-i6mqPm4hUow_kJNhmVHfOV8tMfuSS=tVg@mail.gmail.com
Fixes:
|
||
---|---|---|
.. | ||
avic.c | ||
hyperv.c | ||
hyperv.h | ||
nested.c | ||
pmu.c | ||
sev.c | ||
svm.c | ||
svm.h | ||
svm_onhyperv.c | ||
svm_onhyperv.h | ||
svm_ops.h | ||
vmenter.S |