feat(quickemu): enable SPICE display reconnection for running VMs#1847
Merged
flexiondotorg merged 1 commit intomasterfrom Jan 26, 2026
Merged
feat(quickemu): enable SPICE display reconnection for running VMs#1847flexiondotorg merged 1 commit intomasterfrom
flexiondotorg merged 1 commit intomasterfrom
Conversation
Fixes #1370 Signed-off-by: Martin Wimpress <martin@wimpress.org>
Contributor
There was a problem hiding this comment.
1 issue found across 1 file
Confidence score: 3/5
configure_portsinquickemuunconditionally deletes.spice, which can break the auto-reconnect path by removing the port detection source- Severity is moderate (6/10) with a concrete reconnection failure risk, so there’s some merge risk despite limited scope
- Pay close attention to
quickemu-.spicedeletion can cause auto-reconnect to fail.
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="quickemu">
<violation number="1" location="quickemu:168">
P2: `configure_ports` deletes the `.spice` file unconditionally, but the reconnection logic later depends on that file to detect the running VM’s SPICE port. This causes the auto-reconnect path to fail when you run quickemu against an already-running VM. Only remove the file when starting a new VM (or leave it intact for running VMs).</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
Member
Author
|
Thanks for the review, but I believe the implementation is correct. Let me explain the execution flow: Scenario 1: Starting a NEW VM
Scenario 2: Reconnecting to an ALREADY RUNNING VM
The key insight: |
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.
Fixes #1370
Type of change
Checklist: