diff options
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r-- | drivers/kvm/kvm_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 710483669f34..82cc7ae0fc83 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -3501,7 +3501,9 @@ int kvm_init_x86(struct kvm_x86_ops *ops, unsigned int vcpu_size, | |||
3501 | kvm_preempt_ops.sched_in = kvm_sched_in; | 3501 | kvm_preempt_ops.sched_in = kvm_sched_in; |
3502 | kvm_preempt_ops.sched_out = kvm_sched_out; | 3502 | kvm_preempt_ops.sched_out = kvm_sched_out; |
3503 | 3503 | ||
3504 | return r; | 3504 | kvm_mmu_set_nonpresent_ptes(0ull, 0ull); |
3505 | |||
3506 | return 0; | ||
3505 | 3507 | ||
3506 | out_free: | 3508 | out_free: |
3507 | kmem_cache_destroy(kvm_vcpu_cache); | 3509 | kmem_cache_destroy(kvm_vcpu_cache); |