Skip to content

CNV- 59580: Added note to Configuring PCI passthrough#106357

Open
Vaishali-gif-rh wants to merge 1 commit intoopenshift:mainfrom
Vaishali-gif-rh:CNV-59580
Open

CNV- 59580: Added note to Configuring PCI passthrough#106357
Vaishali-gif-rh wants to merge 1 commit intoopenshift:mainfrom
Vaishali-gif-rh:CNV-59580

Conversation

@Vaishali-gif-rh
Copy link
Contributor

@Vaishali-gif-rh Vaishali-gif-rh commented Feb 11, 2026

@openshift-ci openshift-ci bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 11, 2026
Copy link
Member

@rbo rbo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Just a tiny change request. Thank you.

====
For `vfio-pci` to allocate a PCI device, no other kernel driver can manage that device. If a driver is already managing the device, you must blacklist the specific kernel module.

Blacklisting a module makes all devices handled by that module unavailable to the host.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiny change, let's write kernel module instead of just module

Blacklisting a kernel module ...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Vaishali-gif-rh I don't see this update in the PR

@ocpdocs-previewbot
Copy link

ocpdocs-previewbot commented Feb 11, 2026

@Vaishali-gif-rh Vaishali-gif-rh force-pushed the CNV-59580 branch 2 times, most recently from f070174 to b473b32 Compare February 11, 2026 10:28
Cluster administrators can expose and manage host devices that are permitted to be used in the cluster by using the `oc` command-line interface (CLI).

[IMPORTANT]
====
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] AsciiDocDITA.ExampleBlock: Examples can not be inside of other blocks in DITA.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please address this?

@openshift-ci
Copy link

openshift-ci bot commented Feb 11, 2026

@Vaishali-gif-rh: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

====
For `vfio-pci` to allocate a PCI device, no other kernel driver can manage that device. If a driver is already managing the device, you must blacklist the specific kernel module.

Blacklisting a module makes all devices handled by that module unavailable to the host.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Vaishali-gif-rh I don't see this update in the PR

Cluster administrators can expose and manage host devices that are permitted to be used in the cluster by using the `oc` command-line interface (CLI).

[IMPORTANT]
====
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please address this?


[IMPORTANT]
====
For `vfio-pci` to allocate a PCI device, no other kernel driver can manage that device. If a driver is already managing the device, you must blacklist the specific kernel module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per inclusive language guidelines, do not use "blacklist". Use "blocklist" instead.

Suggested change
For `vfio-pci` to allocate a PCI device, no other kernel driver can manage that device. If a driver is already managing the device, you must blacklist the specific kernel module.
For `vfio-pci` to allocate a PCI device, no other kernel driver can manage that device. If a driver already manages the device, you must add the specific kernel module to a blocklist.

====
For `vfio-pci` to allocate a PCI device, no other kernel driver can manage that device. If a driver is already managing the device, you must blacklist the specific kernel module.

Blacklisting a module makes all devices handled by that module unavailable to the host.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Blacklisting a module makes all devices handled by that module unavailable to the host.
Adding a kernel module to a blocklist makes all devices handled by that module unavailable to the host.

Blacklisting a module makes all devices handled by that module unavailable to the host.
====

* Example MachineConfig to blacklist the enic kernel module
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need this line because line 29 already explains what the example shows

Suggested change
* Example MachineConfig to blacklist the enic kernel module

====

* Example MachineConfig to blacklist the enic kernel module
====
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
====

- enic.blacklist=1
- rd.driver.blacklist=enic
----
====
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
====


* Example MachineConfig to blacklist the enic kernel module
====
The following example demonstrates a `MachineConfig` CR that blacklists the `enic` network driver by creating a configuration file in `/etc/modprobe.d/` and adding kernel arguments:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The following example demonstrates a `MachineConfig` CR that blacklists the `enic` network driver by creating a configuration file in `/etc/modprobe.d/` and adding kernel arguments:
The following example shows a `MachineConfig` CR that adds the `enic` network driver to a blocklist by creating a configuration file in `/etc/modprobe.d/` and adding kernel arguments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants