Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1234625

Re: [PATCH] KVM: nVMX: expose VPID capability to L1

From Wanpeng Li <wanpeng.li@hotmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] KVM: nVMX: expose VPID capability to L1
Date 2015-09-29 03:20 +0200
Message-ID <qdRKi-8ei-7@gated-at.bofh.it> (permalink)
References <qc8Pf-4iI-5@gated-at.bofh.it> <qdFpL-5fT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 9/28/15 8:05 PM, Paolo Bonzini wrote:
>
> On 24/09/2015 08:51, Wanpeng Li wrote:
>>   		/*
>>   		 * For nested guests, we don't do anything specific
>>   		 * for single context invalidation. Hence, only advertise
>>   		 * support for global context invalidation.
>>   		 */
>> -		vmx->nested.nested_vmx_ept_caps |= VMX_EPT_EXTENT_GLOBAL_BIT;
>> +		vmx->nested.nested_vmx_ept_vpid_caps |= VMX_EPT_EXTENT_GLOBAL_BIT;
>> +		vmx->nested.nested_vmx_ept_vpid_caps |= (unsigned long)vmx_capability.vpid << 32;
> Hi Wanpeng, the comment above is about invept, but the same applies
> applies to invvpid.  We can set only VMX_VPID_EXTENT_GLOBAL_CONTEXT_BIT.

Agreed. I see the patch has already in kvm/queue, if I need to send out 
another patch or you can adjust it for me? :-)

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] KVM: nVMX: expose VPID capability to L1  Wanpeng Li <wanpeng.li@hotmail.com> - 2015-09-24 09:10 +0200
  Re: [PATCH] KVM: nVMX: expose VPID capability to L1 Paolo Bonzini <pbonzini@redhat.com> - 2015-09-28 14:10 +0200
    Re: [PATCH] KVM: nVMX: expose VPID capability to L1 Wanpeng Li <wanpeng.li@hotmail.com> - 2015-09-29 03:20 +0200
      Re: [PATCH] KVM: nVMX: expose VPID capability to L1 Paolo Bonzini <pbonzini@redhat.com> - 2015-09-29 11:10 +0200

csiph-web