| Main index | Section 8 | Options |
bhyveload is based on loader(8) and will present an interface identical to the FreeBSD loader on the user's terminal. This behavior can be changed by specifying a different OS loader.
The virtual machine is identified as vmname and will be created if it does not already exist.
| | |
|
cons-dev
is a
tty(4)
device to use for
bhyveload
terminal I/O.
The text string "stdio" is also accepted and selects the use of unbuffered standard I/O. This is the default value. | |
| | |
| The disk-path is the pathname of the guest's boot disk image. | |
| | |
|
Set the
FreeBSD
loader environment variable
name
to
value.
The option may be used more than once to set more than one environment variable. | |
| | |
| The host-path is the directory at the top of the guest's boot filesystem. | |
| | |
| Specify a different OS loader. By default bhyveload will use /boot/userboot.so, which presents a standard FreeBSD loader. | |
| | |
|
memsize
is the amount of memory allocated to the guest.
The memsize argument may be suffixed with one of K, M, G or T (either upper or lower case) to indicate a multiple of Kilobytes, Megabytes, Gigabytes or Terabytes respectively. memsize defaults to 256M. | |
| | |
| Include guest memory in the core file when bhyveload dumps core. This is intended for debugging an OS loader as it allows inspection of the guest memory. | |
| | |
| Wire guest memory. | |
bhyveload -m 1G -d /freebsd/release.iso freebsd-vm
To create a virtual machine named test-vm with 256MB of memory allocated, the guest root filesystem under the host directory /user/images/test and terminal I/O sent to the nmdm(4) device /dev/nmdm1B
bhyveload -m 256MB -h /usr/images/test -c /dev/nmdm1B test-vm
Note that the guest loader scripts are already subject to some limitations that
are not relaxed simply because we are running in userland.
For instance, any I/O on the loader's
"host"
device that can be done in loader scripts is limited to the interface that
bhyveload
provides, which itself will restrict paths that can be touched to those within
a specified
| BHYVELOAD (8) | January 12, 2024 |
| Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
