Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

vmctl stop

Stop a running VM.

Synopsis

vmctl stop [OPTIONS] <NAME>

Arguments

ArgumentDescription
NAMEVM name (positional)

Options

OptionTypeDefaultDescription
--timeoutinteger30Graceful shutdown timeout in seconds

Details

Sends an ACPI power-down signal via QMP. If the guest doesn't shut down within the timeout, vmctl sends SIGTERM to the QEMU process, then SIGKILL as a last resort.

Examples

# Stop with default 30-second timeout
vmctl stop myvm

# Give it more time to shut down gracefully
vmctl stop myvm --timeout 120

See Also

vmctl start, vmctl destroy