summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvm_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm_x86.c b/kvm_x86.c
index 21b3f6a..a0dbacb 100644
--- a/kvm_x86.c
+++ b/kvm_x86.c
@@ -440,7 +440,7 @@ kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0)
void
kvm_lmsw(struct kvm_vcpu *vcpu, unsigned long msw)
{
- kvm_set_cr0(vcpu, kvm_read_cr0_bits(vcpu, ~0x0ful) | (msw & 0x0f));
+ kvm_set_cr0(vcpu, kvm_read_cr0_bits(vcpu, ~0x0eul) | (msw & 0x0f));
}
void