BHYVECTL(8)
hey bestie π this is the bhyvectl(8) page, straight from the System Manager's Manual, and we're gonna make it make sense. periodt. β¨
πΈ NAME πΈ
bhyvectl β control utility for bhyve instances. that's the whole vibe. π
β¨ SYNOPSIS β¨
bhyvectl --vm=<vmname> [--create] [--destroy] [--get-stats]
[--inject-nmi] [--force-reset] [--force-poweroff]
[--checkpoint=<file>] [--suspend=<file>]
π DESCRIPTION π
okay so the bhyvectl command is literally the control utility for active bhyve(8) virtual machine instances. think remote control, but for VMs. π
The user-facing options are as follows:
--vm=<vmname>β operate on the virtual machine<vmname>. π--createβ create the specified VM. β¨--destroyβ destroy the specified VM. π--get-statsβ retrieve statistics for the specified VM. π--inject-nmiβ inject a non-maskable interrupt (NMI) into the VM. β‘--force-resetβ force the VM to reset. π--force-poweroffβ force the VM to power off. π--checkpoint=<file>β save a snapshot of a virtual machine. The guest memory contents are saved in the file given in<file>. The guest device and vCPU state are saved in the file<file>.kern. π«Ά--suspend=<file>β save a snapshot of a virtual machine similar to--checkpoint. The virtual machine will terminate after the snapshot has been saved. π§
Note: mostbhyvectlflags are intended for querying and setting the state of an active instance. These commands are intended for development purposes, and are not documented here. A complete list can be obtained by executingbhyvectlwithout any arguments. π
π EXIT STATUS π
The bhyvectl utility exits 0 on success, and >0 if an error occurs. simple as that. β¨
π¦ EXAMPLES π¦
destroy the VM called fbsd10:
bhyvectl --vm=fbsd10 --destroy
Running VMs will be visible in /dev/vmm/. π
π COMPATIBILITY π
real talk: the snapshot file format is not yet stable and is subject to future changes. Backwards compatibility support for the current snapshot file format is not guaranteed when future changes are made. so don't count on it forever, bestie. π
π SEE ALSO π
bhyve(8), bhyveload(8). go read those too. π
π HISTORY π
The bhyvectl command first appeared in FreeBSD 10.1. iconic. π
π AUTHORS π
The bhyvectl utility was written by Peter Grehan and Neel Natu. legends. π«Ά
π that's the whole page, bestie β from the Debian manual page, dated May 8, 2025, for BHYVECTL(8). periodt. π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2015 Christian Brueffer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms