diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2024-01-12 23:50:12 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2024-01-12 23:50:12 +0000 |
commit | be4cc4fcc33c4ad3e6d7396a795ea966fcbc5b72 (patch) | |
tree | 25a2be38e063bc62d602e58548a59fe421662eea /usr.sbin/vmctl | |
parent | b5cfd7a49d912ac4a7a7557d33758f4f4ab4928f (diff) |
Clarify some behaviour for 'vmctl start' and 'vmctl reload'
Clarify that vmctl start max memory is governed by the vmd(8) user's
max datasize in /etc/login.conf and that vmctl reload only reloads
state for non-running VMs.
ok dv
Diffstat (limited to 'usr.sbin/vmctl')
-rw-r--r-- | usr.sbin/vmctl/vmctl.8 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/vmctl/vmctl.8 b/usr.sbin/vmctl/vmctl.8 index bb0470af81e..7e23f2a4c8c 100644 --- a/usr.sbin/vmctl/vmctl.8 +++ b/usr.sbin/vmctl/vmctl.8 @@ -1,6 +1,6 @@ -.\" $OpenBSD: vmctl.8,v 1.74 2023/04/28 20:13:56 dv Exp $ +.\" $OpenBSD: vmctl.8,v 1.75 2024/01/12 23:50:11 mlarkin Exp $ .\" -.\" Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> +.\" Copyright (c) 2015-2024 Mike Larkin <mlarkin@openbsd.org> .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 28 2023 $ +.Dd $Mdocdate: January 12 2024 $ .Dt VMCTL 8 .Os .Sh NAME @@ -122,7 +122,9 @@ Receive a VM from standard input and start it with the specified .Ar name . .It Cm reload Remove all stopped VMs and reload the configuration from the default -configuration file. +configuration file. VMs that are currently running will not have their +configuration reloaded. To reload configurations for currently running +VMs, stop those VMs before issuing the reload command. .It Cm reset Op Cm all | switches | vms Reset the running state, reset @@ -218,7 +220,8 @@ option. Memory .Ar size of the VM, rounded to megabytes. -The default is 512M. +The default is 512M. The maximum amount of memory assignable to a VM is +governed by the datasize parameter for the vmd user in /etc/login.conf. .It Fl n Ar switch Add a network interface that is attached to the specified virtual .Ar switch . |