projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: Initialize cr0 to indicate an fpu is present
[deliverable/linux.git]
/
drivers
/
kvm
/
kvm_main.c
diff --git
a/drivers/kvm/kvm_main.c
b/drivers/kvm/kvm_main.c
index b065c499156889eedd6ca476aba20c0025906eba..0b30631585bdc254ce574093d7bf4589141742b9 100644
(file)
--- 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)
vcpu->host_fx_image = (char*)ALIGN((hva_t)vcpu->fx_buf,
FX_IMAGE_ALIGN);
vcpu->guest_fx_image = vcpu->host_fx_image + FX_IMAGE_SIZE;
+ vcpu->cr0 = 0x10;
r = kvm_arch_ops->vcpu_create(vcpu);
if (r < 0)
This page took
0.029247 seconds
and
5
git commands to generate.