Repository navigation
Conversation
johnahull
force-pushed
the
fix/gim-vfio-operator-hardening
branch
from
November 6, 2026 15:25
35cdb07 to
9261404
Compare
Reject GIM driver versions that are unsafe in URL paths or shell commands, and quote package filenames in the GIM Dockerfile templates. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Reject empty or malformed spec.driver.vfioConfig.deviceIDs entries. An empty ID makes lspci -d 1002: match every AMD device. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
johnahull
force-pushed
the
fix/gim-vfio-operator-hardening
branch
from
November 6, 2026 17:00
9261404 to
39b6b7a
Compare
johnahull
force-pushed
the
fix/gim-vfio-operator-hardening
branch
from
November 6, 2026 19:12
39b6b7a to
68cf85a
Compare
Contributor
Author
OpenShift validationFunctional cluster validation was completed on the equivalent pre-rebase head
Device-plugin, DRA, and VM end-to-end tests were intentionally deferred. |
Contributor
Author
Test environment detailsThe reported testing used this OpenShift cluster:
|
johnahull
marked this pull request as ready for review
November 6, 2026 19:18
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR682 is the OpenShift hardening layer on top of PR681.
PR681 establishes the GIM/VFIO worker lifecycle. PR682 makes passthrough readiness authoritative on OpenShift by ensuring that host configuration, security permissions, device-plugin rollout, and AMD resource advertisement are all complete before the operator reports readiness.
The AMD device-plugin repository is unchanged. This PR integrates with an externally supplied device-plugin image through the existing DeviceConfig fields.
What PR682 adds
1. OpenShift owns host configuration
2. Scoped security permissions
3. Resource-gated VF passthrough readiness
For VF passthrough, the operator now waits for all of the following:
This prevents a stale readiness label or an old device-plugin state from making a node appear ready for VM allocation.
4. Reconciliation and watcher hardening
5. Documentation and regression coverage
Scope boundary
Included:
Not included:
Validation
The following checks pass on this branch:
Full cluster E2E remains environment and hardware dependent. The currently unavailable suites require E2E_UBUNTU_BASE_IMAGE and GPU_OPERATOR_CHART plus a reachable test API endpoint.
Relationship to other PRs