Repository navigation
docs: check KVM the way the Linux service uses it - #67
Closed
biswaroop1547 wants to merge 2 commits into
Closed
biswaroop1547 wants to merge 2 commits into
biswaroop1547 wants to merge 2 commits into
Conversation
The old check tested file modes, so it printed 'KVM access is ready' for a device node without a working KVM driver, and for a login that has the kvm group while the user's service manager still has the old groups. Open the device through the user's systemd manager instead, and say that a group change needs a restart when another session or lingering keeps services running. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
systemd-run --wait/--pipe needs the user D-Bus, so the check said "not ready" on a working host without one. A one-shot unit reaches the user manager without it, like the daemon's own setup check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Folded into #69. |
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.
The Linux KVM check could print
KVM access is readywhen the daemon can't use KVM.test -randtest -wonly check file modes, and they run with the login's groups. The daemon runs under the user's systemd manager, which keeps its old groups afterusermod -aG kvmwhile another session or lingering keeps it alive. The new command opens/dev/kvmin a one-shotsystemd-run --userunit, the way the service does, so it also works without a user D-Bus. The text now says a group change needs a restart.KVM access is ready/dev/kvmnode with no KVM behind it (x86 VM)KVM access is readyKVM access is readyKVM access is ready/dev/kvmSetup and doctor run the same check after premAI-io/premapp-backend#1172.
Limits: checked in Ubuntu 24.04 containers on the Pi and an x86 VM, not on Debian 13. I ran cspell on the page locally; the site build runs in CI.
🤖 Generated with Claude Code