Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyveload/bhyveload.8
Show All 35 Lines | |||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl c Ar cons-dev | .Op Fl c Ar cons-dev | ||||
.Op Fl d Ar disk-path | .Op Fl d Ar disk-path | ||||
.Op Fl e Ar name=value | .Op Fl e Ar name=value | ||||
.Op Fl h Ar host-path | .Op Fl h Ar host-path | ||||
.Op Fl m Ar mem-size | .Op Fl m Ar mem-size | ||||
.Ar vmname | .Ar vmname | ||||
.Nm | |||||
.Op Fl f Ar guest.conf | |||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
.Nm | .Nm | ||||
is used to load a | is used to load a | ||||
.Fx | .Fx | ||||
guest inside a | guest inside a | ||||
.Xr bhyve 4 | .Xr bhyve 4 | ||||
virtual machine. | virtual machine. | ||||
.Pp | .Pp | ||||
Show All 28 Lines | |||||
Set the FreeBSD loader environment variable | Set the FreeBSD loader environment variable | ||||
.Ar name | .Ar name | ||||
to | to | ||||
.Ar value . | .Ar value . | ||||
.Pp | .Pp | ||||
The option may be used more than once to set more than one environment | The option may be used more than once to set more than one environment | ||||
variable. | variable. | ||||
.It Fl h Ar host-path | .It Fl h Ar host-path | ||||
The | The | ||||
0mp: I am not sure but I feel that it should be //from the specified file//.
Correct me if it does… | |||||
.Ar host-path | .Ar host-path | ||||
is the directory at the top of the guest's boot filesystem. | is the directory at the top of the guest's boot filesystem. | ||||
.It Fl m Ar mem-size Xo | .It Fl m Ar mem-size Xo | ||||
.Sm off | .Sm off | ||||
.Op Cm K | k | M | m | G | g | T | t | .Op Cm K | k | M | m | G | g | T | t | ||||
.Xc | .Xc | ||||
.Sm on | .Sm on | ||||
.Ar mem-size | .Ar mem-size | ||||
Show All 9 Lines | |||||
.Cm T | .Cm T | ||||
(either upper or lower case) to indicate a multiple of | (either upper or lower case) to indicate a multiple of | ||||
Kilobytes, Megabytes, Gigabytes or Terabytes | Kilobytes, Megabytes, Gigabytes or Terabytes | ||||
respectively. | respectively. | ||||
.Pp | .Pp | ||||
The default value of | The default value of | ||||
.Ar mem-size | .Ar mem-size | ||||
is 256M. | is 256M. | ||||
.It Fl f Ar guest.conf | |||||
The | |||||
.Ar guest.conf | |||||
is the configuration file that contain all parameters | |||||
necessary to load the guest. | |||||
.El | .El | ||||
.Sh EXAMPLES | .Sh EXAMPLES | ||||
To create a virtual machine named | To create a virtual machine named | ||||
.Ar freebsd-vm | .Ar freebsd-vm | ||||
that boots off the ISO image | that boots off the ISO image | ||||
.Pa /freebsd/release.iso | .Pa /freebsd/release.iso | ||||
and has 1GB memory allocated to it: | and has 1GB memory allocated to it: | ||||
.Pp | .Pp | ||||
.Dl "bhyveload -m 1G -d /freebsd/release.iso freebsd-vm" | .Dl "bhyveload -m 1G -d /freebsd/release.iso freebsd-vm" | ||||
.Pp | .Pp | ||||
To create a virtual machine named | To create a virtual machine named | ||||
.Ar test-vm | .Ar test-vm | ||||
with 256MB of memory allocated, the guest root filesystem under the host | with 256MB of memory allocated, the guest root filesystem under the host | ||||
directory | directory | ||||
.Pa /user/images/test | .Pa /user/images/test | ||||
and terminal I/O sent to the | and terminal I/O sent to the | ||||
.Xr nmdm 4 | .Xr nmdm 4 | ||||
device | device | ||||
.Pa /dev/nmdm1B | .Pa /dev/nmdm1B | ||||
.Pp | .Pp | ||||
.Dl "bhyveload -m 256MB -h /usr/images/test -c /dev/nmdm1B test-vm" | .Dl "bhyveload -m 256MB -h /usr/images/test -c /dev/nmdm1B test-vm" | ||||
.Pp | |||||
To create a virtual machine using a configuration file: | |||||
.Pp | |||||
.Dl "bhyveload -f guest.conf" | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr bhyve 4 , | .Xr bhyve 4 , | ||||
.Xr nmdm 4 , | .Xr nmdm 4 , | ||||
.Xr vmm 4 , | .Xr vmm 4 , | ||||
.Xr bhyve 8 , | .Xr bhyve 8 , | ||||
.Xr loader 8 | .Xr loader 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
.Nm | .Nm | ||||
Show All 15 Lines |
I am not sure but I feel that it should be from the specified file.
Correct me if it does not make sense to you.