Lines Matching +full:virtual +full:- +full:wire +full:- +full:mode

30 .Nd "run a guest operating system inside a virtual machine"
95 virtual machine.
98 Parameters such as the number of virtual CPUs, amount of guest memory, and
99 I/O connectivity can be specified with command-line parameters.
110 .Pa edk2-bhyve
113 .Pa u-boot-bhyve-arm64
114 package provides a U-Boot image that can be used to boot the guest.
120 .Bl -tag -width 10n
122 The guest's local APIC is configured in xAPIC mode.
124 xAPIC mode is the default setting so this option is redundant.
129 Number of guest virtual CPUs
152 The maximum number of virtual CPUs defaults to the number of active
161 Destroy the VM on guest initiated power-off.
197 Yield the virtual CPU thread when a HLT instruction is detected.
198 If this option is not specified, virtual CPUs will use 100% of a host CPU.
203 Set configuration variables from a simple, key-value config file.
220 This specification only works when loaded with UEFI mode for VNC.
229 Allow devices behind the LPC PCI-ISA bridge to be configured.
230 The only supported devices are the TTY-class devices
241 .Cm pc-testdev .
318 .Ar -n
331 Force the guest virtual CPU to exit when a PAUSE instruction is detected.
334 Pin guest's virtual CPU
338 Host CPUs and guest virtual CPUs are numbered starting from 0.
342 To map a 4 vCPU guest to host CPUs 12-15:
343 .Bd -literal
344 -p 0:12 -p 1:13 -p 2:14 -p 3:15
362 Wire guest memory.
366 Configure a virtual PCI slot and function.
369 provides PCI bus emulation and virtual devices that can be attached to
378 .Bl -bullet -compact
421 Force virtio PCI device emulations to use MSI interrupts instead of MSI-X
427 The guest's local APIC is configured in x2APIC mode.
446 .Bl -tag -width "amd_hostbridge"
456 PCI pass-through device.
457 .It Cm virtio-net
459 .It Cm virtio-blk
461 .It Cm virtio-scsi
463 .It Cm virtio-9p
465 .It Cm virtio-rnd
467 .It Cm virtio-console
471 .It Cm virtio-input
475 .It Cm ahci-cd
477 .It Cm ahci-hd
484 LPC PCI-ISA bridge with COM1, COM2, COM3, and COM4 16550 serial ports,
507 .Bl -bullet
530 .Cm slirp,hostfwd= Ar proto : Ar hostaddr : Ar hostport - Ar guestaddr : Ar guestport
546 .Cm virtio-net
583 option takes a 5-tuple describing how connections from the host are to be
589 .Bl -bullet
592 .Ar /filename Op Cm \&, Ar block-device-options
594 .Ar /dev/xxx Op Cm \&, Ar block-device-options
599 .Ar block-device-options
601 .Bl -tag -width 10n
609 Force the file to be opened read-only.
626 .Bl -bullet
629 .Pa /dev/cam/ctl Oo Ar pp Cm \&. Ar vp Oc Oo Cm \&, Ar scsi-device-options Oc
634 .Ar scsi-device-options
636 .Bl -tag -width 10n
648 .Bl -bullet
651 .Ar sharename Cm = Ar /path/to/share Op Cm \&, Ar 9p-device-options
656 .Ar 9p-device-options
658 .Bl -tag -width 10n
660 Expose the share in read-only mode.
663 .Bl -tag -width 10n
680 .Bl -bullet
683 .Ar type Ns \&, Ns Ar path Ns Op Cm \&, Ns Ar tpm-device-options
690 .Bl -tag -width 10n
709 .Ar tpm-device-options
711 .Bl -tag -width 10n
720 .Bl -bullet
737 .Bl -tag -width 10n
755 This interface is widely used and allows user-defined information to
762 .Ss Pass-through device backends
764 .Bl -bullet
766 .Cm ppt Ar N Oo , Ar passthru-device-options Oc
769 .Op , Ar passthru-device-options
772 .Op , Ar passthru-device-options
786 .Ar passthru-device-options
788 .Bl -tag -width 10n
805 option when a pass-through device is configured.
807 The host device must have been reserved at boot-time using the
812 .Bl -bullet
826 .Bl -bullet
839 Emergency write is advertised, but no-op at present.
842 .Bl -bullet
853 .Bl -bullet
856 .Op Cm rfb= Ar ip-and-port
866 .Bl -tag -width 10n
867 .It Cm rfb= Ns Ar ip-and-port Pq or Cm tcp= Ns Ar ip-and-port
871 .Bl -bullet -compact
901 .Pq Ad 0x3c0-3df
921 in UEFI mode.
934 This can be removed for post-installation use.
942 .Bl -bullet
952 .Bl -bullet
967 .Bl -tag -width 10n
995 .Bl -bullet
1007 .Bl -tag -width 10n
1020 .Bl -bullet
1029 .Bl -tag -width 10n
1040 per-device settings.
1051 under that node including the device model and device model-specific variables.
1091 Each virtual CPU is exposed to the debugger as a thread.
1093 General purpose registers can be queried for each virtual CPU, but other
1094 registers such as floating-point and system registers cannot be queried.
1098 Memory operations use virtual addresses that are resolved to physical
1099 addresses via the current virtual CPU's active address translation.
1102 .Pq for example, by pressing Ctrl-C in the debugger .
1114 .Bl -tag -width SIGTERM -compact
1121 .Bl -tag -width indent -compact
1141 To run a virtual machine with 1GB of memory, two virtual CPUs, a virtio
1145 .Bd -literal -offset indent
1146 bhyve -c 2 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/my/image \\
1147 -l com1,stdio -H -P -m 1G vm1
1151 .Bd -literal -offset indent
1153 bhyve -c 2 -s 0,hostbridge -s 1,virtio-blk,/my/image -o console=stdio \\
1154 -o bootrom=/usr/local/share/u-boot/u-boot-bhyve-arm64/u-boot.bin -m 1G vm1
1156 Run a 24GB single-CPU virtual machine with three network ports, one of which
1158 .Bd -literal -offset indent
1159 bhyve -s 0,hostbridge -s 1,lpc -s 2:0,virtio-net,tap0 \\
1160 -s 2:1,virtio-net,tap1 \\
1161 -s 2:2,virtio-net,tap2,mac=00:be:fa:76:45:00 \\
1162 -s 3,virtio-blk,/my/image -l com1,stdio \\
1163 -H -P -m 24G bigvm
1166 Run an 8GB quad-CPU virtual machine with 8 AHCI SATA disks, an AHCI ATAPI
1167 CD-ROM, a single virtio network port, an AMD hostbridge, and the console
1170 null-modem device.
1171 .Bd -literal -offset indent
1172 bhyve -c 4 \\
1173 -s 0,amd_hostbridge -s 1,lpc \\
1174 -s 1:0,ahci,hd:/images/disk.1,hd:/images/disk.2,\\
1179 -s 3,virtio-net,tap0 \\
1180 -l com1,/dev/nmdm0A \\
1181 -H -P -m 8G
1184 Run a UEFI virtual machine with a display resolution of 800 by 600 pixels
1187 .Bd -literal -offset indent
1188 bhyve -c 2 -m 4G -w -H \\
1189 -s 0,hostbridge \\
1190 -s 3,ahci-cd,/path/to/uefi-OS-install.iso \\
1191 -s 4,ahci-hd,disk.img \\
1192 -s 5,virtio-net,tap0 \\
1193 -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \\
1194 -s 30,xhci,tablet \\
1195 -s 31,lpc -l com1,tcp=127.0.0.1:1234 \\
1196 -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \\
1200 Run a UEFI virtual machine with a VNC display that is bound to all IPv6
1203 .Bd -literal -offset indent
1204 bhyve -c 2 -m 4G -w -H \\
1205 -s 0,hostbridge \\
1206 -s 4,ahci-hd,disk.img \\
1207 -s 5,virtio-net,tap0 \\
1208 -s 29,fbuf,tcp=[::]:5900,w=800,h=600 \\
1209 -s 30,xhci,tablet \\
1210 -s 31,lpc -l com1,tcp=[::1]:1234 \\
1211 -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \\
1215 Run a UEFI virtual machine with a VARS file to save EFI variables.
1219 Be sure to create a per-guest copy of the template VARS file from
1221 .Bd -literal -offset indent
1222 bhyve -c 2 -m 4g -w -H \\
1223 -s 0,hostbridge \\
1224 -s 31,lpc -l com1,stdio \\
1225 -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE.fd,BHYVE_UEFI_VARS.fd
1231 for a virtual machine, use
1234 .Bd -literal -offset indent
1235 /usr/sbin/bhyve -c 2 -m 256 -H -P \\
1236 -s 0:0,hostbridge -s 1:0,virtio-net,tap0 \\
1237 -s 2:0,ahci-hd,./vm0.img \\
1238 -s 31,lpc -l com1,stdio \\
1239 -o config.dump=1 vm0 > configfile
1250 .Bd -literal -offset indent
1251 /usr/sbin/bhyve -k configfile vm0
1254 Run a UEFI virtual machine with four CPUs and two emulated NUMA domains:
1255 .Bd -literal -offset indent
1256 bhyve -c 4 -w -H \\
1257 -s 0,hostbridge \\
1258 -s 4,ahci-hd,disk.img \\
1259 -s 31,lpc -l com1,stdio \\
1260 -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \\
1261 -n id=0,size=4G,cpus=0-1 \\
1262 -n id=1,size=4G,cpus=2-3 \\
1267 run a UEFI virtual machine with four CPUs using a
1271 .Bd -literal -offset indent
1272 bhyve -c 2 -w -H \\
1273 -s 0,hostbridge \\
1274 -s 4,ahci-hd,disk.img \\
1275 -s 31,lpc -l com1,stdio \\
1276 -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \\
1277 -n id=0,size=4G,cpus=0-1,domain_policy=prefer:0 \\
1294 .%B 64 and IA-32 Architectures Software Developer’s Manual