commit | 2acf923e38fb6a4ce0c57115decbb38d334902ac | [log] [tgz] |
---|---|---|
author | Dexuan Cui <dexuan.cui@intel.com> | Thu Jun 10 11:27:12 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Sun Aug 01 10:46:31 2010 +0300 |
tree | 51a0fba243c857a3bc373ab152c6374c804df224 | |
parent | f495c6e5e8fdc972162241df5bdff5bcebb4dc33 [diff] |
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 <dexuan.cui@intel.com> Signed-off-by: Sheng Yang <sheng@linux.intel.com> Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>