Ensure CR0.TS is set for VMX domains regardless of the current

state of the real TS bit. This fixes a number of subtle FP
corruption issues within PV domains when running alongside VMX ones.

Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
Steven Hand committed 2007-06-04 16:47:48 +01:00
1 parent 7fe901b954
commit 6ef7b1c696
1 file changed
+1 -1
+1 -1
View File
@@ -337,7 +337,7 @@ static void construct_vmcs(struct vcpu *v)
#endif
/* Host control registers. */
__vmwrite(HOST_CR0, read_cr0());
__vmwrite(HOST_CR0, read_cr0() | X86_CR0_TS);
__vmwrite(HOST_CR4, read_cr4());
/* Host CS:RIP. */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.