Re: [PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Chao Peng
On Wed, Oct 22, 2014 at 12:17:33PM +0200, Paolo Bonzini wrote: > On 10/22/2014 11:35 AM, Chao Peng wrote: > > Expose Intel AVX-512 feature bits to guest. Also add checks for > > xcr0 AVX512 related bits according to spec: > >

Re: [PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Paolo Bonzini
On 10/22/2014 11:35 AM, Chao Peng wrote: > Expose Intel AVX-512 feature bits to guest. Also add checks for > xcr0 AVX512 related bits according to spec: > http://download-software.intel.com/sites/default/files/managed/71/2e/319433-017.pdf > > Signed-off-by: Chao Peng The patch looks good, but

[PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Chao Peng
Expose Intel AVX-512 feature bits to guest. Also add checks for xcr0 AVX512 related bits according to spec: http://download-software.intel.com/sites/default/files/managed/71/2e/319433-017.pdf Signed-off-by: Chao Peng --- arch/x86/include/asm/xsave.h |1 + arch/x86/kvm/cpuid.c |3

Re: [PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Chao Peng
On Wed, Oct 22, 2014 at 12:17:33PM +0200, Paolo Bonzini wrote: On 10/22/2014 11:35 AM, Chao Peng wrote: Expose Intel AVX-512 feature bits to guest. Also add checks for xcr0 AVX512 related bits according to spec:

[PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Chao Peng
Expose Intel AVX-512 feature bits to guest. Also add checks for xcr0 AVX512 related bits according to spec: http://download-software.intel.com/sites/default/files/managed/71/2e/319433-017.pdf Signed-off-by: Chao Peng chao.p.p...@linux.intel.com --- arch/x86/include/asm/xsave.h |1 +

Re: [PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Paolo Bonzini
On 10/22/2014 11:35 AM, Chao Peng wrote: Expose Intel AVX-512 feature bits to guest. Also add checks for xcr0 AVX512 related bits according to spec: http://download-software.intel.com/sites/default/files/managed/71/2e/319433-017.pdf Signed-off-by: Chao Peng chao.p.p...@linux.intel.com The