Messages in this thread | | | Subject | Re: [PATCH v5] KVM: VMX: Fix enable VPID conditions | From | David Hildenbrand <> | Date | Thu, 23 Mar 2017 15:07:23 +0100 |
| |
> - 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
| |