From 9c7d73195e4fd1c890228e3223106ccf4f13e22b Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Mon, 28 Aug 2017 08:29:22 -0500 Subject: [PATCH] Update PCI passthrough doc for moved options The ``pci_passthrough_whitelist`` and ``pci_alias`` options in the ``[DEFAULT]`` section were deprecated and replaced by ``passthrough_whitelist`` and ``alias`` in the ``[pci]`` section, respectively, in ocata via [1]. However, the PCI passthrough documentation [2] was missed. [1] https://review.openstack.org/#/c/356604/ [2] https://docs.openstack.org/nova/pike/admin/pci-passthrough.html Change-Id: I77ec8e9b4f90caa5a1e803d248fbc7d4e8db4005 Closes-Bug: #1713502 --- doc/source/admin/pci-passthrough.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/source/admin/pci-passthrough.rst b/doc/source/admin/pci-passthrough.rst index 6be36fe75665..66885a7acdf2 100644 --- a/doc/source/admin/pci-passthrough.rst +++ b/doc/source/admin/pci-passthrough.rst @@ -57,10 +57,10 @@ Configure nova-api (Controller) .. code-block:: ini - [default] - pci_alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" } + [pci] + alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" } - For more information about the syntax of ``pci_alias``, refer to `nova.conf + For more information about the syntax of ``alias``, refer to `nova.conf configuration options`_. #. Restart the ``nova-api`` service. @@ -92,20 +92,20 @@ Configure PCI devices (Compute) .. code-block:: ini - [default] - pci_passthrough_whitelist = { "address": "0000:41:00.0" } + [pci] + passthrough_whitelist = { "address": "0000:41:00.0" } Alternatively specify multiple PCI devices using whitelisting: .. code-block:: ini - [default] - pci_passthrough_whitelist = { "vendor_id": "8086", "product_id": "10fb" } + [pci] + passthrough_whitelist = { "vendor_id": "8086", "product_id": "10fb" } All PCI devices matching the ``vendor_id`` and ``product_id`` are added to the pool of PCI devices available for passthrough to VMs. - For more information about the syntax of ``pci_passthrough_whitelist``, + For more information about the syntax of ``passthrough_whitelist``, refer to `nova.conf configuration options`_. #. Specify the PCI alias for the device. @@ -121,10 +121,10 @@ Configure PCI devices (Compute) .. code-block:: ini - [default] - pci_alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" } + [pci] + alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" } - For more information about the syntax of ``pci_alias``, refer to `nova.conf + For more information about the syntax of ``alias``, refer to `nova.conf configuration options`_. #. Restart the ``nova-compute`` service. @@ -134,7 +134,7 @@ Create instances with PCI passthrough devices The ``nova-scheduler`` selects a destination host that has PCI devices available with the specified ``vendor_id`` and ``product_id`` that matches the -``pci_alias`` from the flavor. +``alias`` from the flavor. .. code-block:: console