diff options
author | kn <kn@cvs.openbsd.org> | 2020-05-24 22:08:55 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2020-05-24 22:08:55 +0000 |
commit | 198a5e9b4107e000b4281298f4afff2ef12499a6 (patch) | |
tree | cd74923c3c526e6f645c3d69bb86f6427bf03d47 /usr.sbin/ldomctl | |
parent | 5c836456ba89e386dc40a2f7c545793d8bd04ba6 (diff) |
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
Diffstat (limited to 'usr.sbin/ldomctl')
-rw-r--r-- | usr.sbin/ldomctl/config.c | 2 |
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 |