diff options
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r-- | arch/x86/kvm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index aa9a987ddefb..9cf90c8d5843 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
@@ -2512,7 +2512,7 @@ static pfn_t pte_prefetch_gfn_to_pfn(struct kvm_vcpu *vcpu, gfn_t gfn, | |||
2512 | 2512 | ||
2513 | slot = gfn_to_memslot_dirty_bitmap(vcpu, gfn, no_dirty_log); | 2513 | slot = gfn_to_memslot_dirty_bitmap(vcpu, gfn, no_dirty_log); |
2514 | if (!slot) | 2514 | if (!slot) |
2515 | return get_fault_pfn(); | 2515 | return KVM_PFN_ERR_FAULT; |
2516 | 2516 | ||
2517 | hva = gfn_to_hva_memslot(slot, gfn); | 2517 | hva = gfn_to_hva_memslot(slot, gfn); |
2518 | 2518 | ||