Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[muen/linux.git] / arch / x86 / kvm / mmu.c
index 763bb3bade63f38df3f3f92cc2727499a3ed160f..8494dbae41b9e58d8be0ec4d8ef2f98439e8d3fd 100644 (file)
@@ -3031,7 +3031,7 @@ static int kvm_handle_bad_page(struct kvm_vcpu *vcpu, gfn_t gfn, kvm_pfn_t pfn)
                return RET_PF_RETRY;
        }
 
                return RET_PF_RETRY;
        }
 
-       return RET_PF_EMULATE;
+       return -EFAULT;
 }
 
 static void transparent_hugepage_adjust(struct kvm_vcpu *vcpu,
 }
 
 static void transparent_hugepage_adjust(struct kvm_vcpu *vcpu,