/freebsd-src/sys/contrib/device-tree/Bindings/virtio/ |
H A D | iommu.txt | 1 * virtio IOMMU PCI device 3 When virtio-iommu uses the PCI transport, its programming interface is 4 discovered dynamically by the PCI probing infrastructure. However the 6 masters. Therefore, the PCI root complex that hosts the virtio-iommu 11 - compatible: Should be "virtio,pci-iommu" 12 - reg: PCI address of the IOMMU. As defined in the PCI Bus 13 Binding reference [1], the reg property is a five-cell 18 - #iommu-cells: Each platform DMA master managed by the IOMMU is assigned 20 For virtio-iommu, #iommu-cells must be 1. 24 - DMA from the IOMMU device isn't managed by another IOMMU. Therefore the [all …]
|
H A D | pci-iommu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/virtio/pci-iommu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: virtio-iommu device using the virtio-pci transport 10 - Jean-Philippe Brucker <jean-philippe@linaro.org> 13 When virtio-iommu uses the PCI transport, its programming interface is 14 discovered dynamically by the PCI probing infrastructure. However the 16 masters. Therefore, the PCI root complex that hosts the virtio-iommu 20 virtio-iommu node doesn't have an "iommus" property, and is omitted from [all …]
|
H A D | mmio.txt | 1 * virtio memory mapped device 3 See https://ozlabs.org/~rusty/virtio-spec/ for more details. 7 - compatible: "virtio,mmio" compatibility string 8 - reg: control registers base address and size including configuration space 9 - interrupts: interrupt generated by the device 11 Required properties for virtio-iommu: 13 - #iommu-cells: When the node corresponds to a virtio-iommu device, it is 14 linked to DMA masters using the "iommus" or "iommu-map" 15 properties [1][2]. #iommu-cells specifies the size of the 16 "iommus" property. For virtio-iommu #iommu-cells must be [all …]
|
H A D | virtio-device.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/virtio/virtio-device.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Virtio device 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 These bindings are applicable to virtio devices irrespective of the bus they 14 are bound to, like mmio or pci. 16 # We need a select here so we don't match all nodes with 'virtio,mmio' 19 pattern: "^virtio,device[0-9a-f]{1,8}$" [all …]
|
/freebsd-src/sys/arm64/conf/ |
H A D | std.virt | 14 # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 17 # VirtIO support 18 device virtio # Generic VirtIO bus (required) 19 device virtio_pci # VirtIO PCI device 20 device virtio_mmio # VirtIO Memory Mapped IO device 21 device virtio_blk # VirtIO Block device 22 device virtio_gpu # VirtIO GPU device 23 device virtio_scmi # VirtIO SCMI device 24 device virtio_scsi # VirtIO SCSI device 25 device vtnet # VirtIO Ethernet device
|
/freebsd-src/usr.sbin/bhyve/ |
H A D | bhyve_config.5 | 1 .\" SPDX-License-Identifier: BSD-2-Clause 35 per-device settings. 69 For those variables the following case-insensitive values may be used to 72 .Bl -bullet -offset indent -compact 85 .Bl -bulle [all...] |
H A D | bhyve.8 | 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. 203 Set configuration variables from a simple, key-valu [all...] |
H A D | virtio.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 #include <dev/virtio/virtio.h> 35 #include <dev/virtio/virtio_ring.h> 36 #include <dev/virtio/pci/virtio_pci_var.h> 39 * These are derived from several virtio specifications. 42 * https://github.com/rustyrussell/virtio-spec 43 * http://people.redhat.com/pbonzini/virtio-spec.pdf 48 * Each virtqueue uses at least two 4096-byte pages, laid out thus: 50 * +-----------------------------------------------+ [all …]
|
H A D | virtio.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 #include <dev/virtio/pci/virtio_pci_legacy_var.h> 49 #include "virtio.h" 53 * defined by <https://www.google.com/#output=search&q=virtio+spec> 57 * In case we decide to relax the "virtio soft [all...] |
/freebsd-src/sys/powerpc/conf/ |
H A D | GENERIC64LE | 2 # GENERIC64LE -- Generic kernel configuration file for FreeBSD/powerpc64le 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 31 options PSERIES # PAPR-compliant systems (e.g. IBM p) 32 options POWERNV # Non-virtualized OpenPOWER systems 37 options NUMA # Non-Uniform Memory Architecture support 53 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 64 options PSEUDOFS # Pseudo-filesystem framework 79 options SYSVSHM # SYSV-styl [all...] |
H A D | GENERIC | 2 # GENERIC -- Generic kernel configuration file for FreeBSD/powerpc 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 32 options PSERIES # PAPR-compliant systems 48 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 58 options PSEUDOFS # Pseudo-filesystem framework 74 options SYSVSHM # SYSV-style shared memory 75 options SYSVMSG # SYSV-style message queues 76 options SYSVSEM # SYSV-styl [all...] |
H A D | GENERIC64 | 2 # GENERIC64 -- Generic kernel configuration file for FreeBSD/powerpc64 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 33 options PSERIES # PAPR-compliant systems (e.g. IBM p) 34 options POWERNV # Non-virtualized OpenPOWER systems 38 options NUMA # Non-Uniform Memory Architecture support 55 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 66 options PSEUDOFS # Pseudo-filesystem framework 83 options SYSVSHM # SYSV-styl [all...] |
H A D | MPC85XXSPE | 13 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 103 device pci 128 # VirtIO support 129 device virtio # Generic VirtIO bus (required) 130 device virtio_pci # VirtIO PCI device 131 device vtnet # VirtIO Ethernet device 132 device virtio_blk # VirtIO Block device 133 device virtio_scsi # VirtIO SCS [all...] |
/freebsd-src/sys/i386/conf/ |
H A D | GENERIC | 2 # GENERIC -- Generic kernel configuration file for FreeBSD/i386 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 42 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 52 options PSEUDOFS # Pseudo-filesystem framework 69 options SYSVSHM # SYSV-style shared memory 70 options SYSVMSG # SYSV-style message queues 71 options SYSVSEM # SYSV-style semaphores 72 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-tim [all...] |
H A D | MINIMAL | 2 # MINIMAL -- Mostly Minimal kernel configuration file for FreeBSD/i386 13 # o (non-loaded) random is included due to uncertainty... 21 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 39 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 53 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 65 options SYSVSHM # SYSV-style shared memory 66 options SYSVMSG # SYSV-style message queues 67 options SYSVSEM # SYSV-style semaphores 68 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 87 # Make an SMP-capable kernel by default [all …]
|
/freebsd-src/sys/amd64/conf/ |
H A D | GENERIC | 2 # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 23 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 27 options NUMA # Non-Uniform Memory Architecture support 46 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 56 options PSEUDOFS # Pseudo-filesystem framework 75 options SYSVSHM # SYSV-style shared memory 76 options SYSVMSG # SYSV-style message queues 77 options SYSVSEM # SYSV-styl [all...] |
H A D | FIRECRACKER | 2 # FIRECRACKER -- kernel configuration file for Firecracker VM 4 # This is largely a stripped-down version of the GENERIC kernel configuration 6 # Firecracker VM environment. It adds support for the Virtio MMIO bus, 12 # it bypasses the boot loader; some environment variables are hard-coded 17 # https://firecracker-microvm.github.io/ 22 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 26 options NUMA # Non-Uniform Memory Architecture support 44 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 54 options PSEUDOFS # Pseudo-filesystem framework 68 options SYSVSHM # SYSV-style shared memory [all …]
|
H A D | MINIMAL | 2 # MINIMAL -- Mostly Minimal kernel configuration file for FreeBSD/amd64 9 # o (non-loaded) random is included due to uncertainty... 17 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 33 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 37 options NUMA # Non-Uniform Memory Architecture support 47 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 60 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 79 # Make an SMP-capable kernel by default 88 device pci 125 # VirtIO support [all …]
|
/freebsd-src/sys/dev/virtio/pci/ |
H A D | virtio_pci_legacy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 /* Driver for the legacy VirtIO PCI interface. */ 44 #include <dev/pci/pcivar.h> 45 #include <dev/pci/pcireg.h> 47 #include <dev/virtio/virtio.h> 48 #include <dev/virtio/virtqueue.h> 49 #include <dev/virtio/pci/virtio_pci.h> 50 #include <dev/virtio/pci/virtio_pci_legacy_var.h> 112 VIRTIO_PCI_CONFIG_OFF(vtpci_is_msix_enabled(&(_sc)->vtpci_common)) [all …]
|
H A D | virtio_pci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 43 #include <dev/pci/pcivar.h> 44 #include <dev/pci/pcireg.h> 46 #include <dev/virtio/virtio.h> 47 #include <dev/virtio/virtqueu [all...] |
/freebsd-src/sys/riscv/conf/ |
H A D | GENERIC | 2 # GENERIC -- Generic kernel configuration file for FreeBSD/RISC-V 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 23 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 42 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 51 options PSEUDOFS # Pseudo-filesystem framework 61 options SYSVSHM # SYSV-style shared memory 62 options SYSVMSG # SYSV-style message queues 63 options SYSVSEM # SYSV-styl [all...] |
/freebsd-src/share/man/man4/ |
H A D | virtio.4 | 29 .Nm virtio 30 .Nd VirtIO Device Support 32 To compile VirtIO device support into the kernel, place the following lines 34 .Bd -ragged -offset indent 35 .Cd "device virtio" 39 Alternatively, to load VirtIO support as modules at boot time, place the 42 .Bd -literal -offset indent 47 VirtIO is a specification for para-virtualized I/O in a virtual machine (VM). 52 VirtIO defines an interface for efficient I/O between the hypervisor and VM. 58 device driver represents an emulated PCI device that the hypervisor makes [all …]
|
/freebsd-src/sys/dev/virtio/p9fs/ |
H A D | virtio_p9fs.c | 1 /*- 27 * The Virtio 9P transport driver. This file contains all functions related to 49 #include <dev/virtio/virtio.h> 50 #include <dev/virtio/virtqueue.h> 51 #include <dev/virtio/virtio_ring.h> 52 #include <dev/virtio/p9fs/virtio_p9fs.h> 54 #define VT9P_MTX(_sc) (&(_sc)->vt9p_mtx) 58 "VIRTIO 9P CHAN lock", NULL, MTX_DEF) 87 /* We don't currently allow canceling of virtio request in global_chan_list_init() [all...] |
/freebsd-src/share/examples/bhyve/ |
H A D | vmrun.sh | 3 # SPDX-License-Identifier: BSD-2-Clause 40 DEFAULT_NIC=virtio-net 41 DEFAULT_DISK=virtio-blk 56 echo "Usage: vmrun.sh [-aAEhiTuvw] [-c <CPUs>] [-C <console>]" \ 57 "[-d <disk file>]" 58 echo " [-e <name=value>] [-f <path of firmware>]" \ 59 "[-F <size>]" 60 echo " [-G [w][address:]port] [-H <directory>]" 61 echo " [-I <location of installation iso>] [-l <loader>]" 62 echo " [-L <VNC IP for UEFI framebuffer>]" [all …]
|
/freebsd-src/sys/dev/virtio/mmio/ |
H A D | virtio_mmio_fdt.c | 1 /*- 7 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) 36 * VirtIO MMIO interface. 37 * This driver is heavily based on VirtIO PCI interface driver. 43 * compatible = "virtio,mmio"; 46 * interrupt-parent = <&GIC>; 63 #include <dev/virtio/mmio/virtio_mmio.h> 82 MODULE_DEPEND(virtio_mmio, virtio, 1, 1, 1); 91 if (!ofw_bus_is_compatible(dev, "virtio,mmio")) in vtmmio_fdt_probe() 105 sc->platform = NULL; in vtmmio_setup_platform() [all …]
|