Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/bhyve.8
Show All 35 Lines | |||||
.Op Fl c Ar numcpus | .Op Fl c Ar numcpus | ||||
.Op Fl g Ar gdbport | .Op Fl g Ar gdbport | ||||
.Op Fl l Ar lpcdev Ns Op , Ns Ar conf | .Op Fl l Ar lpcdev Ns Op , Ns Ar conf | ||||
.Op Fl m Ar size Ns Op Ar K|k|M|m|G|g|T|t | .Op Fl m Ar size Ns Op Ar K|k|M|m|G|g|T|t | ||||
.Op Fl p Ar vcpu:hostcpu | .Op Fl p Ar vcpu:hostcpu | ||||
.Op Fl s Ar slot,emulation Ns Op , Ns Ar conf | .Op Fl s Ar slot,emulation Ns Op , Ns Ar conf | ||||
.Op Fl U Ar uuid | .Op Fl U Ar uuid | ||||
.Ar vmname | .Ar vmname | ||||
.Nm | |||||
.Op Fl f Ar guest.conf | |||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
.Nm | .Nm | ||||
is a hypervisor that runs guest operating systems inside a | is a hypervisor that runs guest operating systems inside a | ||||
virtual machine. | virtual machine. | ||||
.Pp | .Pp | ||||
Parameters such as the number of virtual CPUs, amount of guest memory, and | Parameters such as the number of virtual CPUs, amount of guest memory, and | ||||
I/O connectivity can be specified with command-line parameters. | I/O connectivity can be specified with command-line parameters. | ||||
.Pp | .Pp | ||||
Show All 28 Lines | |||||
.It Fl C | .It Fl C | ||||
Include guest memory in core file. | Include guest memory in core file. | ||||
.It Fl e | .It Fl e | ||||
Force | Force | ||||
.Nm | .Nm | ||||
to exit when a guest issues an access to an I/O port that is not emulated. | to exit when a guest issues an access to an I/O port that is not emulated. | ||||
This is intended for debug purposes. | This is intended for debug purposes. | ||||
.It Fl g Ar gdbport | .It Fl g Ar gdbport | ||||
For | For | ||||
0mp: I am not sure but I feel that it should be //from the specified file//.
Correct me if it does… | |||||
.Fx | .Fx | ||||
kernels compiled with | kernels compiled with | ||||
.Cd "device bvmdebug" , | .Cd "device bvmdebug" , | ||||
allow a remote kernel kgdb to be relayed to the guest kernel gdb stub | allow a remote kernel kgdb to be relayed to the guest kernel gdb stub | ||||
via a local IPv4 address and this port. | via a local IPv4 address and this port. | ||||
This option will be deprecated in a future version. | This option will be deprecated in a future version. | ||||
.It Fl h | .It Fl h | ||||
Print help message and exit. | Print help message and exit. | ||||
▲ Show 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | |||||
.It Fl x | .It Fl x | ||||
The guest's local APIC is configured in x2APIC mode. | The guest's local APIC is configured in x2APIC mode. | ||||
.It Fl Y | .It Fl Y | ||||
Disable MPtable generation. | Disable MPtable generation. | ||||
.It Ar vmname | .It Ar vmname | ||||
Alphanumeric name of the guest. | Alphanumeric name of the guest. | ||||
This should be the same as that created by | This should be the same as that created by | ||||
.Xr bhyveload 8 . | .Xr bhyveload 8 . | ||||
.It Fl f | |||||
Use a configuration file. | |||||
.El | .El | ||||
.Sh EXAMPLES | .Sh EXAMPLES | ||||
The guest operating system must have been loaded with | The guest operating system must have been loaded with | ||||
.Xr bhyveload 4 | .Xr bhyveload 4 | ||||
or a similar boot loader before | or a similar boot loader before | ||||
.Xr bhyve 4 | .Xr bhyve 4 | ||||
can be run. | can be run. | ||||
.Pp | .Pp | ||||
Show All 31 Lines | bhyve -c 4 \e\ | ||||
-s 1:4,ahci-hd,/images/disk.5 \\ | -s 1:4,ahci-hd,/images/disk.5 \\ | ||||
-s 1:5,ahci-hd,/images/disk.6 \\ | -s 1:5,ahci-hd,/images/disk.6 \\ | ||||
-s 1:6,ahci-hd,/images/disk.7 \\ | -s 1:6,ahci-hd,/images/disk.7 \\ | ||||
-s 1:7,ahci-hd,/images/disk.8 \\ | -s 1:7,ahci-hd,/images/disk.8 \\ | ||||
-s 2,ahci-cd,/images.install.iso \\ | -s 2,ahci-cd,/images.install.iso \\ | ||||
-s 3,virtio-net,tap0 \\ | -s 3,virtio-net,tap0 \\ | ||||
-l com1,/dev/nmdm0A \\ | -l com1,/dev/nmdm0A \\ | ||||
-A -H -P -m 8G | -A -H -P -m 8G | ||||
.Ed | |||||
.Pp | |||||
To create a virtual machine using a configuration file: | |||||
.Bd -literal -offset ident | |||||
Not Done Inline ActionsI guess that ident is a typo, right? 0mp: I guess that //ident// is a typo, right? | |||||
bhyve -f guest.conf | |||||
.Ed | .Ed | ||||
.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 ethers 5 , | .Xr ethers 5 , | ||||
.Xr bhyvectl 8 , | .Xr bhyvectl 8 , | ||||
.Xr bhyveload 8 | .Xr bhyveload 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
.Nm | .Nm | ||||
first appeared in | first appeared in | ||||
.Fx 10.0 . | .Fx 10.0 . | ||||
.Sh AUTHORS | .Sh AUTHORS | ||||
.An Neel Natu Aq Mt neel@freebsd.org | .An Neel Natu Aq Mt neel@freebsd.org | ||||
.An Peter Grehan Aq Mt grehan@freebsd.org | .An Peter Grehan Aq Mt grehan@freebsd.org |
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.