summaryrefslogtreecommitdiffstats
path: root/lib/crc32.c
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2010-06-22 13:49:21 +0800
committerAvi Kivity <avi@redhat.com>2010-08-01 10:47:10 +0300
commit6c3f6041172b78d5532c6bf3680d304e92ec2e66 (patch)
tree3a1f358ea1cc29df958a6b3d535114987650e101 /lib/crc32.c
parent7ac77099ce88a0c31b75acd0ec5ef3da4415a6d8 (diff)
downloadop-kernel-dev-6c3f6041172b78d5532c6bf3680d304e92ec2e66.zip
op-kernel-dev-6c3f6041172b78d5532c6bf3680d304e92ec2e66.tar.gz
KVM: x86: Enable AVX for guest
Enable Intel(R) Advanced Vector Extension(AVX) for guest. The detection of AVX feature includes OSXSAVE bit testing. When OSXSAVE bit is not set, even if AVX is supported, the AVX instruction would result in UD as well. So we're safe to expose AVX bits to guest directly. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud