diff options
-rw-r--r-- | drivers/kvm/kvm_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index b065c4991568..0b30631585bd 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -2332,6 +2332,7 @@ static int kvm_vm_ioctl_create_vcpu(struct kvm *kvm, int n) | |||
2332 | vcpu->host_fx_image = (char*)ALIGN((hva_t)vcpu->fx_buf, | 2332 | vcpu->host_fx_image = (char*)ALIGN((hva_t)vcpu->fx_buf, |
2333 | FX_IMAGE_ALIGN); | 2333 | FX_IMAGE_ALIGN); |
2334 | vcpu->guest_fx_image = vcpu->host_fx_image + FX_IMAGE_SIZE; | 2334 | vcpu->guest_fx_image = vcpu->host_fx_image + FX_IMAGE_SIZE; |
2335 | vcpu->cr0 = 0x10; | ||
2335 | 2336 | ||
2336 | r = kvm_arch_ops->vcpu_create(vcpu); | 2337 | r = kvm_arch_ops->vcpu_create(vcpu); |
2337 | if (r < 0) | 2338 | if (r < 0) |