> -     if (!cpu_has_vmx_vpid())
> +     if (!cpu_has_vmx_vpid() || !cpu_has_vmx_invvpid() ||
> +             !(cpu_has_vmx_invvpid_single() || cpu_has_vmx_invvpid_global()))

I still don't like this way of indentation, but looks like I am the only
one complaining :)

So I think this patch is just fine now.

>               enable_vpid = 0;
> +
>       if (!cpu_has_vmx_shadow_vmcs())
>               enable_shadow_vmcs = 0;
>       if (enable_shadow_vmcs)
> 


-- 

Thanks,

David

Reply via email to