Skip to content

Libvirt: Check access to system QEMU socket - #3877

Merged
ipspace merged 1 commit into
devfrom
libvirt-check
Sep 10, 2026
Merged

Libvirt: Check access to system QEMU socket#3877
ipspace merged 1 commit into
devfrom
libvirt-check

Conversation

@ipspace

@ipspace ipspace commented Sep 10, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

act_probe still uses virsh list without -c qemu:///system, which can query a different libvirt instance and produce misleading results.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the libvirt provider preflight probe to explicitly validate access to the system libvirt/QEMU connection (qemu:///system), aligning the check with system-wide libvirt networking usage.

Changes:

  • Update the libvirt networking probe command to use virsh -c qemu:///system net-list.
  • Refine the associated error message to clarify it’s checking system-wide virsh networking access.
File summaries
File Description
netsim/providers/libvirt.yml Adjusts the provider probe to test permissions against the system libvirt URI for networking.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread netsim/providers/libvirt.yml
@ipspace
ipspace merged commit ae1364a into dev Sep 10, 2026
9 checks passed
@ipspace
ipspace deleted the libvirt-check branch September 10, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants