Re: [PATCH v2 6/8] KVM: VMX: unify SECONDARY_VM_EXEC_CONTROL update

2015-09-15 Thread Paolo Bonzini
On 09/09/2015 08:05, Xiao Guangrong wrote: > Unify the update in vmx_cpuid_update() > > Signed-off-by: Xiao Guangrong What if we instead start fresh from vmx_secondary_exec_control, like this: diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4504cbc1b287..98c4d3f1653a 100644 ---

Re: [PATCH v2 6/8] KVM: VMX: unify SECONDARY_VM_EXEC_CONTROL update

2015-09-15 Thread Paolo Bonzini
On 09/09/2015 08:05, Xiao Guangrong wrote: > Unify the update in vmx_cpuid_update() > > Signed-off-by: Xiao Guangrong What if we instead start fresh from vmx_secondary_exec_control, like this: diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index

[PATCH v2 6/8] KVM: VMX: unify SECONDARY_VM_EXEC_CONTROL update

2015-09-09 Thread Xiao Guangrong
Unify the update in vmx_cpuid_update() Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 97e3340..5a074d0 100644 --- a/arch/x86/kvm/vmx.c +++

[PATCH v2 6/8] KVM: VMX: unify SECONDARY_VM_EXEC_CONTROL update

2015-09-09 Thread Xiao Guangrong
Unify the update in vmx_cpuid_update() Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 97e3340..5a074d0 100644 ---