From: Dexuan Cui Date: Thu, 10 Jun 2010 03:27:12 +0000 (+0800) Subject: KVM: VMX: Enable XSAVE/XRSTOR for guest X-Git-Tag: v2.6.36-rc1~580^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2acf923e38fb6a4ce0c57115decbb38d334902ac;p=pandora-kernel.git KVM: VMX: Enable XSAVE/XRSTOR for guest This patch enable guest to use XSAVE/XRSTOR instructions. We assume that host_xcr0 would use all possible bits that OS supported. And we loaded xcr0 in the same way we handled fpu - do it as late as we can. Signed-off-by: Dexuan Cui Signed-off-by: Sheng Yang Reviewed-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed