Re: [PATCH v8 4/4] kvm: vmx: virtualize split lock detection

From: Xiaoyao Li
Date: Wed Apr 15 2020 - 22:12:44 EST


On 4/16/2020 3:47 AM, Thomas Gleixner wrote:
Xiaoyao Li <xiaoyao.li@xxxxxxxxx> writes:

Due to the fact that TEST_CTRL MSR is per-core scope, i.e., the sibling
threads in the same physical CPU core share the same MSR, only
advertising feature split lock detection to guest when SMT is disabled
or unsupported, for simplicitly.

That's not for simplicity. It's for correctness because you cannot
provide consistent state to a guest.


I'll correct it.

Thanks!
-Xiaoyao