Re: [PATCH v2] KVM: nVMX: Sync L2 guest CET states between L1/L2

Paolo Bonzini
2021-03-02T10:01:17Z

On 02/03/21 10:05, Yang Weijiang wrote:
> I got some description from MSFT as below, do you mean that:
>
> GuestSsp uses clean field GUEST_BASIC (bit 10)
> GuestSCet/GuestInterruptSspTableAddr uses GUEST_GRP1 (bit 11)
> HostSCet/HostSsp/HostInterruptSspTableAddr uses HOST_GRP1 (bit 14)
>
> If it is, should these go into separate patch series for Hyper-v nested
> support? I have some pending patches for the enabling.

Yes, it should be a separate patch. The main patch however should add
the CET fields to EVMCS1_UNSUPPORTED_VMENTRY_CTRL and
EVMCS1_UNSUPPORTED_VMEXIT_CTRL.

Thanks,

Paolo