Re: [PATCH] KVM: nVMX: emulate the INVVPID instruction

2015-09-25 Thread Bandan Das
Paolo Bonzini writes: > On 24/09/2015 17:45, Bandan Das wrote: >> > However, I have applied the patch to kvm/queue. Please send the changes >> > separately, and I will squash them in the existing VPID patch. >> >> Please don't do this. It's making it really difficult to

Re: [PATCH] KVM: nVMX: emulate the INVVPID instruction

2015-09-25 Thread Paolo Bonzini
On 24/09/2015 17:45, Bandan Das wrote: > > However, I have applied the patch to kvm/queue. Please send the changes > > separately, and I will squash them in the existing VPID patch. > > Please don't do this. It's making it really difficult to review these > patches individually :( Why not let

Re: [PATCH] KVM: nVMX: emulate the INVVPID instruction

2015-09-24 Thread Bandan Das
Paolo Bonzini writes: ... >> @@ -7189,7 +7189,28 @@ static int handle_invept(struct kvm_vcpu *vcpu) >> >> static int handle_invvpid(struct kvm_vcpu *vcpu) >> { >> -kvm_queue_exception(vcpu, UD_VECTOR); >> +u32 vmx_instruction_info; >> +unsigned long type; >> +

Re: [PATCH] KVM: nVMX: emulate the INVVPID instruction

2015-09-23 Thread Wanpeng Li
On 9/23/15 4:39 PM, Paolo Bonzini wrote: On 23/09/2015 09:59, Wanpeng Li wrote: Add the INVVPID instruction emulation. Reviewed-by: Wincy Van Signed-off-by: Wanpeng Li --- arch/x86/include/asm/vmx.h | 1 + arch/x86/kvm/vmx.c | 23

Re: [PATCH] KVM: nVMX: emulate the INVVPID instruction

2015-09-23 Thread Paolo Bonzini
On 23/09/2015 09:59, Wanpeng Li wrote: > Add the INVVPID instruction emulation. > > Reviewed-by: Wincy Van > Signed-off-by: Wanpeng Li > --- > arch/x86/include/asm/vmx.h | 1 + > arch/x86/kvm/vmx.c | 23 ++- > 2

[PATCH] KVM: nVMX: emulate the INVVPID instruction

2015-09-23 Thread Wanpeng Li
Add the INVVPID instruction emulation. Reviewed-by: Wincy Van Signed-off-by: Wanpeng Li --- arch/x86/include/asm/vmx.h | 1 + arch/x86/kvm/vmx.c | 23 ++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git