doc: cleanup pci.alias references

The admin and user flavor docs on pci.alias were not super
helpful by just throwing the user to the config docs or
flavor docs and letting them figure it out. This change
helps the reader by linking directly to the things being
referenced.

Also cleans up a pci.passthrough config option reference
while in here.

Change-Id: Ie2e28a14ff4655e38a5db3925adcd605ac773843
This commit is contained in:
Matt Riedemann 2019-03-04 16:41:58 -05:00
parent c7db20d140
commit fbfb1a25df
2 changed files with 8 additions and 7 deletions

View File

@ -70,8 +70,7 @@ Configure nova-api (Controller)
[pci]
alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" }
For more information about the syntax of ``alias``, refer to
:doc:`/configuration/config`.
Refer to :oslo.config:option:`pci.alias` for syntax information.
#. Restart the ``nova-api`` service.
@ -86,7 +85,7 @@ Configure a flavor to request two PCI devices, each with ``vendor_id`` of
# openstack flavor set m1.large --property "pci_passthrough:alias"="a1:2"
For more information about the syntax for ``pci_passthrough:alias``, refer to
:doc:`/user/flavors`.
:ref:`Flavors <extra-spec-pci-passthrough>`.
Enable PCI passthrough (Compute)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -137,8 +136,8 @@ Configure PCI devices (Compute)
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 ``passthrough_whitelist``,
refer to :doc:`/configuration/config`.
Refer to :oslo.config:option:`pci.passthrough_whitelist` for syntax
information.
#. Specify the PCI alias for the device.
@ -156,7 +155,7 @@ Configure PCI devices (Compute)
[pci]
alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" }
For more information about the syntax of ``alias``, refer to :doc:`/configuration/config`.
Refer to :oslo.config:option:`pci.alias` for syntax information.
#. Restart the ``nova-compute`` service.

View File

@ -606,6 +606,8 @@ Large pages allocation
backed by huge pages. Otherwise, the guest OS will not be getting the
performance benefit it is expecting.
.. _extra-spec-pci-passthrough:
PCI passthrough
You can assign PCI devices to a guest by specifying them in the flavor.
@ -618,7 +620,7 @@ PCI passthrough
- ALIAS: (string) The alias which correspond to a particular PCI device class
as configured in the nova configuration file (see
:doc:`/configuration/config`).
:oslo.config:option:`pci.alias`).
- COUNT: (integer) The amount of PCI devices of type ALIAS to be assigned to
a guest.