On 3/30/22 02:20, Sean Christopherson wrote:
It'd be helpful to explicitly call out that KVM always takes V_GIF_ENABLE_MASK from vmcs01, otherwise this looks like it does unintentend things when KVM is runing vmcb02.
I will add a note to the commit message.More precisely, because KVM does not (as of this patch) support vGIF when L1 runs L2, the vmcb02's V_GIF_MASK and V_GIF_ENABLE_MASK also control L1's GIF and are the same as vmcs01's.
Paolo