summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-05-02 20:40:00 +0300
committerAvi Kivity <avi@qumranet.com>2007-07-16 12:05:39 +0300
commit5fd86fcfc0dbdd42296b1182945f7a0a05578211 (patch)
tree0fffa1f468d9b44f00ee16a5b82bb1c65713d4a6 /drivers/kvm/kvm.h
parentabd3f2d622a810b7f6687f7ddb405e90e4cfb7ab (diff)
downloadkernel-crypto-5fd86fcfc0dbdd42296b1182945f7a0a05578211.tar.gz
kernel-crypto-5fd86fcfc0dbdd42296b1182945f7a0a05578211.tar.xz
kernel-crypto-5fd86fcfc0dbdd42296b1182945f7a0a05578211.zip
KVM: Consolidate guest fpu activation and deactivation
Easier to keep track of where the fpu is this way. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index bb32383ddff..472408743d7 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -42,7 +42,7 @@
(CR0_PG_MASK | CR0_PE_MASK | CR0_WP_MASK | CR0_NE_MASK \
| CR0_NW_MASK | CR0_CD_MASK)
#define KVM_VM_CR0_ALWAYS_ON \
- (CR0_PG_MASK | CR0_PE_MASK | CR0_WP_MASK | CR0_NE_MASK)
+ (CR0_PG_MASK | CR0_PE_MASK | CR0_WP_MASK | CR0_NE_MASK | CR0_TS_MASK)
#define KVM_GUEST_CR4_MASK \
(CR4_PSE_MASK | CR4_PAE_MASK | CR4_PGE_MASK | CR4_VMXE_MASK | CR4_VME_MASK)
#define KVM_PMODE_VM_CR4_ALWAYS_ON (CR4_VMXE_MASK | CR4_PAE_MASK)