diff options
author | Avi Kivity <avi@qumranet.com> | 2007-05-02 17:40:00 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-07-16 09:05:39 (GMT) |
commit | 5fd86fcfc0dbdd42296b1182945f7a0a05578211 (patch) | |
tree | 0fffa1f468d9b44f00ee16a5b82bb1c65713d4a6 /drivers/kvm/kvm.h | |
parent | abd3f2d622a810b7f6687f7ddb405e90e4cfb7ab (diff) | |
download | linux-fsl-qoriq-5fd86fcfc0dbdd42296b1182945f7a0a05578211.tar.xz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index bb32383..4724087 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) |