Re: [PATCH 8/8] KVM: x86: SVM: remove vgif_enabled()
From: Paolo Bonzini
Date: Wed Mar 30 2022 - 08:20:30 EST
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