Re: [PATCH v2 0/4] KVM: VMX: enable LBR virtualization

2015-11-12 Thread Jian Zhou
On 2015/11/11 23:23, Paolo Bonzini wrote: On 23/10/2015 11:15, Jian Zhou wrote: Changelog in v2: (1) move the implementation into vmx.c (2) migraton is supported (3) add arrays in kvm_vcpu_arch struct to save/restore LBR MSRs at vm exit/entry time. (4) add a parameter of

Re: [PATCH v2 0/4] KVM: VMX: enable LBR virtualization

2015-11-11 Thread Paolo Bonzini
On 23/10/2015 11:15, Jian Zhou wrote: > Changelog in v2: > (1) move the implementation into vmx.c > (2) migraton is supported > (3) add arrays in kvm_vcpu_arch struct to save/restore > LBR MSRs at vm exit/entry time. > (4) add a parameter of kvm_intel module to permanently >

Re: [PATCH v2 0/4] KVM: VMX: enable LBR virtualization

2015-11-09 Thread Paolo Bonzini
On 09/11/2015 02:33, Jian Zhou wrote: > Hi Paolo, > > May I ask that any suggestion about the version 2 of VMX LBRV? > This version is updated following your advices in version 1. > BTW the kvm-unit-test for this feature has sent too, and I > have tested the CPUs emulated by QEMU. Hi, since

Re: [PATCH v2 0/4] KVM: VMX: enable LBR virtualization

2015-11-09 Thread Jian Zhou
On 2015/11/9 17:06, Paolo Bonzini wrote: On 09/11/2015 02:33, Jian Zhou wrote: Hi Paolo, May I ask that any suggestion about the version 2 of VMX LBRV? This version is updated following your advices in version 1. BTW the kvm-unit-test for this feature has sent too, and I have tested the CPUs

Re: [PATCH v2 0/4] KVM: VMX: enable LBR virtualization

2015-11-08 Thread Jian Zhou
Hi Paolo, May I ask that any suggestion about the version 2 of VMX LBRV? This version is updated following your advices in version 1. BTW the kvm-unit-test for this feature has sent too, and I have tested the CPUs emulated by QEMU. Thanks, Jian On 2015/10/23 17:15, Jian Zhou wrote: Changelog

[PATCH v2 0/4] KVM: VMX: enable LBR virtualization

2015-10-23 Thread Jian Zhou
Changelog in v2: (1) move the implementation into vmx.c (2) migraton is supported (3) add arrays in kvm_vcpu_arch struct to save/restore LBR MSRs at vm exit/entry time. (3) add a parameter of kvm_intel module to permanently disable LBRV (4) table of supported CPUs is

[PATCH v2 0/4] KVM: VMX: enable LBR virtualization

2015-10-23 Thread Jian Zhou
Changelog in v2: (1) move the implementation into vmx.c (2) migraton is supported (3) add arrays in kvm_vcpu_arch struct to save/restore LBR MSRs at vm exit/entry time. (4) add a parameter of kvm_intel module to permanently disable LBRV (5) table of supported CPUs is