Re: [PATCH RESEND v4 5/9] KVM: VMX: Add init/set/get functions for SPP

Yang Weijiang
2019-08-20T12:31:38Z

On Mon, Aug 19, 2019 at 05:15:01PM +0200, Paolo Bonzini wrote:
> On 19/08/19 04:08, Yang Weijiang wrote:
> >> KVM_GET_NESTED_STATE has the requested information. If
> >> data.vmx.vmxon_pa is anything other than -1, then the vCPU is in VMX
> >> operation. If (flags & KVM_STATE_NESTED_GUEST_MODE), then L2 is
> >> active.
> > Thanks Jim, I'll reference the code and make necessary change in next
> > SPP patch release.
>
> Since SPP will not be used very much in the beginning, it would be
> simplest to enable it only if nested==0.
>
> Paolo
Thanks Paolo! Sure, will make the change and document it.