summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2020-05-24 22:08:54 +0000
committerkn <kn@openbsd.org>2020-05-24 22:08:54 +0000
commita2ead9793e77b51ac08e17a08dd02cbb8d625d04 (patch)
treefd03b2654a7fffcf9c51dccc48ad9759fbb18ab1
parentmsg (diff)
downloadwireguard-openbsd-a2ead9793e77b51ac08e17a08dd02cbb8d625d04.tar.xz
wireguard-openbsd-a2ead9793e77b51ac08e17a08dd02cbb8d625d04.zip
Make "init-system -n" check vcpu and memory constraints
Second attempt after config.c revision 1.37, this time merely delay the "-n" test until after constraint checks have been performed such that the PRI is still read, as required in order to get the total number of VCPUs and memory. OK kmos who also tested this
-rw-r--r--usr.sbin/ldomctl/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ldomctl/config.c b/usr.sbin/ldomctl/config.c
index 690dbe35109..da289f0da51 100644
--- a/usr.sbin/ldomctl/config.c
+++ b/usr.sbin/ldomctl/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.39 2020/05/24 22:00:45 kn Exp $ */
+/* $OpenBSD: config.c,v 1.40 2020/05/24 22:08:54 kn Exp $ */
/*
* Copyright (c) 2012, 2018 Mark Kettenis