-
Notifications
You must be signed in to change notification settings - Fork 1
/
bhyve.cfg.sample
43 lines (34 loc) · 1.06 KB
/
bhyve.cfg.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Example Bhyve config
# --------------------
# Attention:
# * key and value must not be separated by whitespaces.
# * There must be no whitespaces at the end of lines.
# * NICs are placed in the PCI slots before 29, they must
# be avaliable for startvm. For example, 2 NICs require
# slot 28 and 27 to be available.
# * PCI slots 0, 29, 30 and 31 must be available for startvm.
# * startvm configures the com1 port, framebuffer and NICs.
# * The VM is always named after its config directory.
#
# All options are documented in bhyve_config(5).
# Most guests need ACPI tables.
acpi_tables=true
# Number of vCPUs.
cpus=4
# Memory size.
memory.size=2G
# UTC for the realtime clock
rtc.use_localtime=false
# Don't burn CPU time
x86.vmexit_on_hlt=true
x86.vmexit_on_true=true
# An NVMe controller.
pci.0.2.0.device=nvme
pci.0.2.0.path=/path/to/image.img
# An AHCI CDROM for the install image.
pci.0.3.0.device=ahci
pci.0.3.0.port.0.path=/path/to/install.iso
pci.0.3.0.port.0.type=cd
# An XHCI controller with tablet.
pci.0.4.0.device=xhci
pci.0.4.0.slot.1.device=tablet