-
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
e603429
Guard vGPU releases with live-instance claims
yummybomb 5e7955a
Reconcile vendor VFIO vGPUs against a fail-closed instance inventory
yummybomb d7eadf8
Fail closed on vGPU claim checks
yummybomb 506b421
Retain only vGPU assignment after failed create
yummybomb bd1fd38
Clear released vGPU assignment on start rollback
yummybomb 5ca85a2
Test start rollback vGPU cleanup
yummybomb afc8dad
Normalize legacy mdev paths in live-claim check
yummybomb df1a288
Bind the live-claimant test socket under /tmp for macOS
yummybomb 4453651
Surface retained vGPU cleanup through a typed create error and manage…
yummybomb 38f14b1
Generalize the create vGPU error text
yummybomb 1411cbd
Scope vGPU claim scan to vendor VFIO and close reconcile gaps
yummybomb 520533a
Harden the vendor VFIO release path
yummybomb 7e1737c
Fail closed on retained vGPU cleanup
yummybomb 928f8d2
Report surviving vGPU retention metadata
yummybomb 3f80948
Return accurate vGPU cleanup guidance
yummybomb 5960195
Clarify vGPU retention fallback
yummybomb f677f8b
Pass hypervisor identity token to vGPU claim check
yummybomb 51508f0
Fail safely on ambiguous vGPU claims
yummybomb 3af8301
Expose retained vGPU instance IDs
yummybomb ad4c713
Harden vGPU startup rollback recovery
yummybomb df3dcf8
Preserve the create failure cause in vGPU cleanup errors
yummybomb d60193e
Fix vGPU reconciliation edge cases
yummybomb d0de0cc
Use boot-scoped hypervisor identities for vGPUs
yummybomb 5b1b190
Run vGPU rollback tests with QEMU
yummybomb 5420fb9
Protect new vGPU assignments from stale PIDs
yummybomb 83c7f51
Persist vGPU assignments after create rollback failure
yummybomb abf009b
Preserve vGPU lifecycle compatibility
yummybomb e5e35e2
Reconcile vGPU protection from raw metadata and restore GPUAssignedAt
yummybomb 081ead1
Surface pending vGPU cleanup from start as a typed error
yummybomb 45fbedc
Cover retained-stub delete recovery and flag reconcile inventory fail…
yummybomb c162c87
Reject vendor VFIO vGPUs on Cloud Hypervisor and improve wedge forensics
yummybomb 4fe3ad9
Surface retained rollback assignments from start as vgpu_cleanup_pending
yummybomb 01f754b
Report retention as persisted when the mid-start save survives
yummybomb 1838846
Leave vGPU hypervisor selection to callers
yummybomb b79b13e
Carry identity fields into the create-pending retention stub
yummybomb 84f821a
Grace recent dead-PID claims in the release scan like reconcile does
yummybomb af8d527
Reject start on vGPU retention records
yummybomb ca6f98d
Make vGPU retention records fully delete-only
yummybomb ab20441
Adapt vGPU liveness guards to the identity struct resolver
yummybomb eb52f8c
Deep-copy the phase tracker into the start rollback snapshot
yummybomb 3f4c157
Retry orphaned vGPU releases in the background after delete
yummybomb 942a33d
Bound orphan retries in delete tests and tighten comments
yummybomb 70de8d4
SIGTERM vGPU QEMU before SIGKILL during driver init
yummybomb c64689d
Apply vGPU SIGTERM grace on stop's direct kill paths
yummybomb 53ff425
Lower vGPU SIGTERM grace to 5s
yummybomb c9e7ece
Apply vGPU SIGTERM grace in every instance state
yummybomb 7948ce9
Harden the vGPU claim scan and retention-stub stop path
yummybomb bb8614a
Share one vGPU retention stub in create
yummybomb 54c37b3
Name the strict metadata listing variant
yummybomb b86d1da
Skip instances deleted mid-listing in reconcile protection
yummybomb f255bb2
Count abandoned orphaned vGPU releases
yummybomb 3644fbe
Define the vGPU retention-stub rejection once
yummybomb b444663
Render pending vGPU cleanup responses through one helper
yummybomb 4d21b0b
Narrow the vGPU reconcile interface
yummybomb 34deb09
Encapsulate vGPU rollback retention
yummybomb 61c563e
Move vGPU reconciliation into instance manager
yummybomb e417c85
Derive QEMU VFIO grace from VM config
yummybomb 648373d
Tighten vGPU lifecycle comments
yummybomb 928d61c
Retry vGPU recovery paths that previously waited for restart
yummybomb e361540
Validate live vGPU claim test identity
yummybomb a9387fc
Clean guest data before retaining vGPU assignment
yummybomb 9b3ece3
Retry failed vGPU reconciliation
yummybomb c273752
Trim vGPU lifecycle comments and tests
yummybomb 78d8fa3
Track vendor VFIO assignment age and owner for periodic sweeps
yummybomb 937caf1
Replace vGPU release retry machinery with a periodic reconciler
yummybomb d1ac2f2
Update vgpu_cleanup_pending assertions for the periodic reconcile mes…
yummybomb 93cc755
Check socket ownership for vGPU liveness without a persisted PID
yummybomb a7886fe
Share one vGPU assignment grace period constant
yummybomb 34f606a
Preserve delete-only vGPU retention records
yummybomb 742281e
Trim redundant vGPU coverage
yummybomb 33f58e1
Add counters for vGPU cleanup failure paths
yummybomb ea55f13
Simplify vGPU lifecycle cleanup
yummybomb be458d1
Simplify vGPU retention persistence to a single attempt
yummybomb a43dee1
Report vGPU retention as persisted when the assignment claim survives
yummybomb 07da772
Protect claimed mdevs during reconciliation
yummybomb 4f13a3c
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.