summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-04-17 00:15:29 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-04-17 00:15:29 +0000
commit3805a90c0d0c91c2a8ec5a1331ae5a9766cdafb3 (patch)
tree7166394a6aea255ba4a10537b797e181a1fc047c
parent1125bf8bf397d7c916481c0202d46868802a3c9c (diff)
add pool_setipl after pool_init.
ok mlarkin@ stefan@
-rw-r--r--sys/arch/amd64/amd64/vmm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c
index 8b5b6618e0c..00a8c42d038 100644
--- a/sys/arch/amd64/amd64/vmm.c
+++ b/sys/arch/amd64/amd64/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.53 2016/04/13 04:44:41 mlarkin Exp $ */
+/* $OpenBSD: vmm.c,v 1.54 2016/04/17 00:15:28 dlg Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -283,8 +283,10 @@ vmm_attach(struct device *parent, struct device *self, void *aux)
pool_init(&vm_pool, sizeof(struct vm), 0, 0, PR_WAITOK, "vmpool",
NULL);
+ pool_setipl(&vm_pool, IPL_NONE);
pool_init(&vcpu_pool, sizeof(struct vcpu), 0, 0, PR_WAITOK, "vcpupl",
NULL);
+ pool_setipl(&vcpu_pool, IPL_NONE);
vmm_softc = sc;
}