From: Sheng Yang Date: Tue, 22 Jun 2010 05:49:21 +0000 (+0800) Subject: KVM: x86: Enable AVX for guest X-Git-Tag: v2.6.36-rc1~580^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c3f6041172b78d5532c6bf3680d304e92ec2e66;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed