Lines Matching +full:on +full:- +full:device

20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
45 .Sm on
53 .Sm on
61 .Sm on
68 .Sm on
76 .Sm on
84 .Sm on
96 It can run guests on amd64 and arm64 platforms with suitable hardware support.
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
161 Destroy the VM on guest initiated power-off.
182 .Sm on
203 Set configuration variables from a simple, key-value config file.
229 Allow devices behind the LPC PCI-ISA bridge to be configured.
230 The only supported devices are the TTY-class devices
236 the boot ROM device
240 type and the debug/test device
241 .Cm pc-testdev .
258 .Sm on
318 .Ar -n
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
350 and the guest device and vCPU state are restored from the file
370 slots on the bus.
378 .Bl -bullet -compact
384 .Sm on
388 .Sm on
421 Force virtio PCI device emulations to use MSI interrupts instead of MSI-X
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
482 PCI 16550 serial device.
484 LPC PCI-ISA bridge with COM1, COM2, COM3, and COM4 16550 serial ports,
486 optionally, a TPM module, a fwcfg type, and the debug/test device.
487 The LPC bridge emulation can only be configured on bus 0.
489 Raw framebuffer device attached to VNC server.
500 describes the backend for device emulations.
503 is not specified, the device emulation has no backend and can be
505 .Ss Network device backends
507 .Bl -bullet
530 .Cm slirp,hostfwd= Ar proto : Ar hostaddr : Ar hostport - Ar guestaddr : Ar guestport
533 .Sm on
539 the device name.
546 .Cm virtio-net
577 configuration on the host system.
578 It depends on the
583 option takes a 5-tuple describing how connections from the host are to be
588 .Ss Block storage device backends:
589 .Bl -bullet
592 .Ar /filename Op Cm \&, Ar block-device-options
594 .Ar /dev/xxx Op Cm \&, Ar block-device-options
595 .Sm on
599 .Ar block-device-options
601 .Bl -tag -width 10n
609 Force the file to be opened read-only.
619 Add the device to the bootorder at
625 .Ss SCSI device backends
626 .Bl -bullet
629 .Pa /dev/cam/ctl Oo Ar pp Cm \&. Ar vp Oc Oo Cm \&, Ar scsi-device-options Oc
630 .Sm on
634 .Ar scsi-device-options
636 .Bl -tag -width 10n
641 Add the device to the bootorder at
647 .Ss 9P device backends
648 .Bl -bullet
651 .Ar sharename Cm = Ar /path/to/share Op Cm \&, Ar 9p-device-options
652 .Sm on
656 .Ar 9p-device-options
658 .Bl -tag -width 10n
660 Expose the share in read-only mode.
662 .Ss TTY device backends
663 .Bl -tag -width 10n
670 Use the host TTY device for serial port I/O.
679 .Ss TPM device backends
680 .Bl -bullet
683 .Ar type Ns \&, Ns Ar path Ns Op Cm \&, Ns Ar tpm-device-options
684 .Sm on
687 Emulate a TPM device.
690 .Bl -tag -width 10n
692 Use a physical TPM device.
695 needs to point to a valid TPM device path, i.e.
705 process is listening on.
709 .Ar tpm-device-options
711 .Bl -tag -width 10n
713 Version of the TPM device according to the TCG specification.
718 .Ss Boot ROM device backends
720 .Bl -bullet
724 .Sm on
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
774 .Sm on
776 Connect to a PCI device on the host either named ppt
786 .Ar passthru-device-options
788 .Bl -tag -width 10n
792 as option ROM to the PCI device.
794 initializing the device.
796 Add the device to the bootorder at
805 option when a pass-through device is configured.
807 The host device must have been reserved at boot-time using the
811 .Ss Virtio console device backends
812 .Bl -bullet
816 .Sm on
819 A maximum of 16 ports per device can be created.
826 .Bl -bullet
830 sockets on the filesystem must be cleaned up manually after
839 Emergency write is advertised, but no-op at present.
841 .Ss Virtio input device backends:
842 .Bl -bullet
846 .Sm on
852 .Ss Framebuffer device backends
853 .Bl -bullet
856 .Op Cm rfb= Ar ip-and-port
862 .Sm on
866 .Bl -tag -width 10n
867 .It Cm rfb= Ns Ar ip-and-port Pq or Cm tcp= Ns Ar ip-and-port
868 An IP address and a port VNC should listen on.
871 .Bl -bullet -compact
876 .Sm on
880 .Sm on
883 The default is to listen on localhost IPv4 address and default VNC port 5900.
895 .Cm on ,
901 .Pq Ad 0x3c0-3df
910 .Cm on
934 This can be removed for post-installation use.
937 intended for use on untrusted networks.
941 .Ss xHCI USB device backends
942 .Bl -bullet
946 .Sm on
949 A USB tablet device that provides precise cursor synchronization
951 .Ss NVMe device backends
952 .Bl -bullet
963 .Sm on
967 .Bl -tag -width 10n
969 Accepted device paths are:
994 .Ss AHCI device backends
995 .Bl -bullet
1003 .Sm on
1007 .Bl -tag -width 10n
1010 Value 1 will indicate device as Solid State Disk.
1019 .Ss HD Audio device backends
1020 .Bl -bullet
1025 .Sm on
1029 .Bl -tag -width 10n
1031 Playback device, typically
1034 Recording device, typically
1040 per-device settings.
1050 option creates a new tree node for a PCI device and sets one or more variables
1051 under that node including the device model and device model-specific variables.
1058 then uses the value of configuration values to initialize device models
1061 More details on configuration variables can be found in
1094 registers such as floating-point and system registers cannot be queried.
1102 .Pq for example, by pressing Ctrl-C in the debugger .
1104 Single stepping is only supported on Intel CPUs supporting the MTRAP VM exit.
1106 Breakpoints are supported on Intel CPUs that support single stepping.
1114 .Bl -tag -width SIGTERM -compact
1121 .Bl -tag -width indent -compact
1142 block device backed by the
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
1150 To do the same on arm64:
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
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 \\
1201 addresses on port 5900 and a serial I/O port bound to TCP port 1234 of
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 \\
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
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
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 \\
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