fix(ci): preserve KVM access across udev restarts - #2566
Merged
Conversation
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Collaborator
|
/ok to test b1c44ba |
matthewgrossman
marked this pull request as ready for review
July 30, 2026 22:04
matthewgrossman
requested review from
a team,
derekwaynecarr,
maxamillion and
mrunalp
as code owners
July 30, 2026 22:04
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
pimlock
approved these changes
Jul 30, 2026
pimlock
left a comment
Collaborator
There was a problem hiding this comment.
Thanks!
Some references that mention this fix:
- https://stackoverflow.com/questions/37300811/android-studio-dev-kvm-device-permission-denied/61984745#61984745
- https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
I'm assuming that the old version was something that agent came up with and this seems to be a proper way to configure it.
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
Keep VM E2E KVM access intact when package installation restarts
systemd-udevd. Configure a persistent udev rule after dependencies and verify that the runner can actually open/dev/kvmbefore continuing.Related Issue
Related to the failed Release Tag job: https://github.com/NVIDIA/OpenShell/actions/runs/30553217578/job/90914553277
Changes
needrestartcannot immediately undo the setup.0666across subsequent device events./dev/kvm.Testing
mise run pre-commitChecklist