/freebsd/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/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 -bullet -offset indent -compact 103 .Bl -column "memory.guest_in_core" "integer" "Default" 140 This can cause problems if the guest uses the in-memory version, since certain 144 Destroy the VM on guest-initiated power-off. 149 If this is set to a non-zero value, a debug server 160 .It Va pci.enable_bars Ta bool Ta Ta [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-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 241 .Cm pc-testdev . [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_va [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 softc comes at the 58 * front of virtio-based device softc" constraint, let's use 65 * the PCI emulation. 76 vs->vs_vc = vc; in vi_softc_linkup() 77 vs->vs_pi = pi; in vi_softc_linkup() [all …]
|
/freebsd/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 Bloc [all...] |
/freebsd/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/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 | NOTES | 2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs. 61 # CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 62 # CPU if CPU supports it. The default is double-clock mode on 76 # mapped mode. Default is 2-way set associative mode. 124 # K5/K6/K6-2 CPUs. 130 # without cache flush at hold state, and (2) write-back CPU cache on 136 # and should be included for any non-Pentium CPU that defines it. 139 # which indicates that the 15-16MB range is *definitely* not being 147 # in write-throug [all...] |
/freebsd/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...] |
/freebsd/sys/riscv/conf/ |
H A D | NOTES | 2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs. 11 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 23 # RISC-V SBI console 41 # NOTE: dtrace introduces CDDL-licensed components into the kernel 47 device uart_ns8250 # ns8250-type UART driver 62 device xilinx_spi # Xilinx AXI Quad-SPI Controller
|
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-style semaphores 64 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 80 # RISC-V SBI console [all …]
|
/freebsd/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/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 requests */ 113 KASSERT(req->tc->tag != req->rc->tag, in vt9p_req_wait() [all …]
|
/freebsd/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] [- [all...] |
/freebsd/sys/dev/virtio/pci/ |
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/virtqueue.h> 48 #include <dev/virtio/pci/virtio_pci.h> 49 #include <dev/virtio/pci/virtio_pci_var.h> 93 * - virtio_pci_legacy for pre-V1 support 94 * - virtio_pci_modern for V1 support [all …]
|
H A D | virtio_pci_legacy_var.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 39 #include <dev/virtio/pci/virtio_pci_var.h> 41 /* VirtIO ABI version, this must match exactly. */ 45 * VirtIO Header, located in BAR 0. 62 * The remaining space is defined by each driver as the per-driver
|
/freebsd/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 …]
|
H A D | virtio_mmio_acpi.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. 51 #include <dev/virtio/mmio/virtio_mmio.h>
|