diff options
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 1de2ad7a004d..1ad34d185da9 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -428,6 +428,8 @@ out: | |||
428 | 428 | ||
429 | void kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) | 429 | void kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) |
430 | { | 430 | { |
431 | cr0 |= X86_CR0_ET; | ||
432 | |||
431 | if (cr0 & CR0_RESERVED_BITS) { | 433 | if (cr0 & CR0_RESERVED_BITS) { |
432 | printk(KERN_DEBUG "set_cr0: 0x%lx #GP, reserved bits 0x%lx\n", | 434 | printk(KERN_DEBUG "set_cr0: 0x%lx #GP, reserved bits 0x%lx\n", |
433 | cr0, kvm_read_cr0(vcpu)); | 435 | cr0, kvm_read_cr0(vcpu)); |