summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/amd64/amd64/vmm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c
index df72910cfdb..20200883c5e 100644
--- a/sys/arch/amd64/amd64/vmm.c
+++ b/sys/arch/amd64/amd64/vmm.c
@@ -375,6 +375,7 @@ vm_readpage(struct vm_readpage_params *vrp)
/* Find the phys page where this guest page exists in real memory */
if (!pmap_extract(vm->vm_map->pmap, vr_page, &host_pa)) {
+ rw_exit_read(&vmm_softc->vm_lock);
return (EFAULT);
}