Re: [PATCH 8/9] KVM: VMX: introduce set_clear_2nd_exec_ctrl()

From: Paolo Bonzini
Date: Tue Sep 08 2015 - 16:32:38 EST




On 08/09/2015 16:24, Xiao Guangrong wrote:
>>
>> The second argument is always true.
>
> No...
>
> There are 3 places calling this function with set=falseï
> nested_release_vmcs12(), vmx_disable_pml() and
> vmx_cpuid_update()

You're right. It's always constant---I don't know why I wrote it's
always true, and then suggested vmcs_clear32...

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/