.. sip1596720928269 .. _pci-device-access-for-vms: ========================= PCI Device Access for VMs ========================= You can provide |VMs| with |PCI| passthrough or |SRIOV| access to network interface cards and other |PCI| devices. .. note:: To use |PCI| passthrough or |SRIOV| devices, you must have Intel-VTx and Intel VT-d features enabled in the BIOS. .. note:: When starting a |VM| where interfaces have **binding_vif_type**, the following parameter is required for the |VM| flavor, hw:mem_page_size=large enabled where, page size is one of the following: .. _pci-device-access-for-vms-ul-cz3-mtd-z4b: - small: Requests the smallest available size on the compute node, which is always 4KiB of regular memory. - large: Requests the largest available huge page size, 1GiB or 2MiB. - any: Requests any available size, including small pages. |prod| uses the largest available size, 1GiB, then 2MiB, and then 4KiB. For a network interface card, you can provide |VM| access by configuring the network interface. For more information, see :ref:`Configuring PCI Passthrough Ethernet Interfaces `. For other types of device, you can provide |VM| access by assigning a |PCI| alias to the device, and then referencing the |PCI| alias in a flavor extra specification. For more information, see :ref:`Expose a Generic PCI Device for Use by VMs ` and :ref:`Configuring a Flavor to Use a Generic PCI Device `. - :ref:`PCI Passthrough Ethernet Interface Devices ` - :ref:`Configuring PCI Passthrough Ethernet Interfaces ` - :ref:`PCI SR-IOV Ethernet Interface Devices ` - :ref:`Generic PCI Passthrough ` - :ref:`SR-IOV Encryption Acceleration ` - :ref:`Expose a Generic PCI Device for Use by VMs ` - :ref:`Exposing a Generic PCI Device Using the CLI ` - :ref:`Configure a Flavor to Use a Generic PCI Device `