You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/admin/pci-passthrough.rst
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -442,6 +442,21 @@ removed and VFs from the same PF is configured (or vice versa) then
442
442
nova-compute will refuse to start as it would create a situation where both
443
443
the PF and its VFs are made available for consumption.
444
444
445
+
If a flavor requests multiple ``type-VF`` devices via
446
+
:nova:extra-spec:`pci_passthrough:alias` then it is important to consider the
447
+
value of :nova:extra-spec:`group_policy` as well. The value ``none``
448
+
allows nova to select VFs from the same parent PF to fulfill the request. The
449
+
value ``isolate`` restricts nova to select each VF from a different parent PF
450
+
to fulfill the request. If :nova:extra-spec:`group_policy` is not provided in
451
+
such flavor then it will defaulted to ``none``.
452
+
453
+
Symmetrically with the ``resource_class`` and ``traits`` fields of
454
+
:oslo.config:option:`pci.device_spec` the :oslo.config:option:`pci.alias`
455
+
configuration option supports requesting devices by Placement resource class
456
+
name via the ``resource_class`` field and also support requesting traits to
457
+
be present on the selected devices via the ``traits`` field in the alias. If
458
+
the ``resource_class`` field is not specified in the alias then it is defaulted
459
+
by nova to ``CUSTOM_PCI_<vendor_id>_<product_id>``.
445
460
446
461
For deeper technical details please read the `nova specification. <https://specs.openstack.org/openstack/nova-specs/specs/zed/approved/pci-device-tracking-in-placement.html>`_
0 commit comments