-
Notifications
You must be signed in to change notification settings - Fork 24
Integrate vendor VFIO vGPUs into the instance lifecycle #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yummybomb
wants to merge
76
commits into
hypeship/vendor-vfio-backend
from
hypeship/vendor-vfio-vgpu
Open
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
8de01a5
Guard vGPU releases with live-instance claims
yummybomb 756c6bd
Reconcile vendor VFIO vGPUs against a fail-closed instance inventory
yummybomb 47aa8bd
Fail closed on vGPU claim checks
yummybomb cd055b6
Retain only vGPU assignment after failed create
yummybomb 1ae2681
Clear released vGPU assignment on start rollback
yummybomb 37802ce
Test start rollback vGPU cleanup
yummybomb 2161077
Normalize legacy mdev paths in live-claim check
yummybomb 0a79988
Bind the live-claimant test socket under /tmp for macOS
yummybomb efb0896
Surface retained vGPU cleanup through a typed create error and manage…
yummybomb df9a94e
Generalize the create vGPU error text
yummybomb cc37093
Scope vGPU claim scan to vendor VFIO and close reconcile gaps
yummybomb 0aefc37
Harden the vendor VFIO release path
yummybomb dcdd6d8
Fail closed on retained vGPU cleanup
yummybomb 1b8ecd6
Report surviving vGPU retention metadata
yummybomb 26b3e7a
Return accurate vGPU cleanup guidance
yummybomb 846640d
Clarify vGPU retention fallback
yummybomb 278724a
Pass hypervisor identity token to vGPU claim check
yummybomb 2a30a0b
Fail safely on ambiguous vGPU claims
yummybomb a0509d8
Expose retained vGPU instance IDs
yummybomb 32b9284
Harden vGPU startup rollback recovery
yummybomb 5a3e1a3
Preserve the create failure cause in vGPU cleanup errors
yummybomb e561888
Fix vGPU reconciliation edge cases
yummybomb aa95048
Use boot-scoped hypervisor identities for vGPUs
yummybomb 9a23f3e
Run vGPU rollback tests with QEMU
yummybomb 2cad3cf
Protect new vGPU assignments from stale PIDs
yummybomb a9f0929
Persist vGPU assignments after create rollback failure
yummybomb 937ff9e
Preserve vGPU lifecycle compatibility
yummybomb 76950f7
Reconcile vGPU protection from raw metadata and restore GPUAssignedAt
yummybomb 7b20b43
Surface pending vGPU cleanup from start as a typed error
yummybomb b6cfb61
Cover retained-stub delete recovery and flag reconcile inventory fail…
yummybomb 97a0d15
Reject vendor VFIO vGPUs on Cloud Hypervisor and improve wedge forensics
yummybomb c226b26
Surface retained rollback assignments from start as vgpu_cleanup_pending
yummybomb e8730af
Report retention as persisted when the mid-start save survives
yummybomb 8171652
Leave vGPU hypervisor selection to callers
yummybomb 74470eb
Carry identity fields into the create-pending retention stub
yummybomb f4d2d9b
Grace recent dead-PID claims in the release scan like reconcile does
yummybomb 09730c2
Reject start on vGPU retention records
yummybomb ae2bd42
Make vGPU retention records fully delete-only
yummybomb a27cbe4
Adapt vGPU liveness guards to the identity struct resolver
yummybomb 798e4a1
Deep-copy the phase tracker into the start rollback snapshot
yummybomb a5d5d19
Retry orphaned vGPU releases in the background after delete
yummybomb b8b25bd
Bound orphan retries in delete tests and tighten comments
yummybomb dd5332a
SIGTERM vGPU QEMU before SIGKILL during driver init
yummybomb cda2695
Apply vGPU SIGTERM grace on stop's direct kill paths
yummybomb 2b584a4
Lower vGPU SIGTERM grace to 5s
yummybomb b92ba06
Apply vGPU SIGTERM grace in every instance state
yummybomb 5465683
Harden the vGPU claim scan and retention-stub stop path
yummybomb a9700a4
Share one vGPU retention stub in create
yummybomb 623c121
Name the strict metadata listing variant
yummybomb 17cfdb4
Skip instances deleted mid-listing in reconcile protection
yummybomb 5c0292c
Count abandoned orphaned vGPU releases
yummybomb 7b4621c
Define the vGPU retention-stub rejection once
yummybomb 456bb21
Render pending vGPU cleanup responses through one helper
yummybomb 8403c10
Narrow the vGPU reconcile interface
yummybomb 48b7673
Encapsulate vGPU rollback retention
yummybomb a44d855
Move vGPU reconciliation into instance manager
yummybomb 2bedc05
Derive QEMU VFIO grace from VM config
yummybomb 4652dcd
Tighten vGPU lifecycle comments
yummybomb a062d9c
Retry vGPU recovery paths that previously waited for restart
yummybomb 4c149ea
Validate live vGPU claim test identity
yummybomb ee3c296
Clean guest data before retaining vGPU assignment
yummybomb c9f6e43
Retry failed vGPU reconciliation
yummybomb 9da5001
Trim vGPU lifecycle comments and tests
yummybomb 8e3d5a0
Track vendor VFIO assignment age and owner for periodic sweeps
yummybomb 3545b1f
Replace vGPU release retry machinery with a periodic reconciler
yummybomb 110328c
Update vgpu_cleanup_pending assertions for the periodic reconcile mes…
yummybomb a35de81
Check socket ownership for vGPU liveness without a persisted PID
yummybomb be01bd6
Share one vGPU assignment grace period constant
yummybomb 703de47
Preserve delete-only vGPU retention records
yummybomb 8932ba6
Trim redundant vGPU coverage
yummybomb eddeaf1
Add counters for vGPU cleanup failure paths
yummybomb 409adb7
Simplify vGPU lifecycle cleanup
yummybomb 84ec438
Simplify vGPU retention persistence to a single attempt
yummybomb 0736fee
Report vGPU retention as persisted when the assignment claim survives
yummybomb 727aa4f
Protect claimed mdevs during reconciliation
yummybomb 081d9f7
Unify vGPU retention wrapping and dedupe test fixtures
yummybomb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.