KVM: x86: Enable Intel AVX-512 for guest
authorChao Peng <chao.p.peng@linux.intel.com>
Wed, 22 Oct 2014 09:35:24 +0000 (17:35 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Nov 2014 11:07:30 +0000 (12:07 +0100)
commit612263b30c900b534fa76609d314ed55c255a94e
tree1606193c7c9f6939c8f291a5b41edcb2e79e5540
parent7f05db6a20fe4d85bada20d365c78029831b9de1
KVM: x86: Enable Intel AVX-512 for guest

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.peng@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/xsave.h
arch/x86/kvm/cpuid.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h