GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BHYVECTL(8) FreeBSD System Manager's Manual BHYVECTL(8)

bhyvectlcontrol utility for bhyve instances

bhyvectl --vm=<vmname> [--create] [--destroy] [--get-stats] [--inject-nmi] [--force-reset] [--force-poweroff] [--checkpoint=<file>] [--suspend=<file>]

The bhyvectl command is a control utility for active bhyve(8) virtual machine instances.

The user-facing options are as follows:

<vmname>
Operate on the virtual machine <vmname>.
Create the specified VM.
Destroy the specified VM.
Retrieve statistics for the specified VM.
Inject a non-maskable interrupt (NMI) into the VM.
Force the VM to reset.
Force the VM to power off.
<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.
<file>
Save a snapshot of a virtual machine similar to --checkpoint. The virtual machine will terminate after the snapshot has been saved.

: Most bhyvectl flags 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 executing bhyvectl without any arguments.

The bhyvectl utility exits 0 on success, and >0 if an error occurs.

Destroy the VM called fbsd10:

bhyvectl --vm=fbsd10 --destroy

Running VMs will be visible in /dev/vmm/.

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.

The bhyvectl command first appeared in FreeBSD 10.1.

The bhyvectl utility was written by Peter Grehan and Neel Natu.

May 8, 2025 FreeBSD 15.1-RELEASE-p1

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.