Skip to content
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

feat: Connect to a detached running vm #1370

Open
1 task done
sudoAlphaX opened this issue Jul 9, 2024 · 2 comments
Open
1 task done

feat: Connect to a detached running vm #1370

sudoAlphaX opened this issue Jul 9, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@sudoAlphaX
Copy link
Contributor

I confirm this feature has not been previously requested

  • I have searched the issues and this feature has not previously been requested

Is your feature request related to a problem? Please describe.
It is difficult to connect to a running vm (started by qemu), when the window is terminated in cases like a compositor crash. In that case, the vm is still running. Trying to start the vm reports:

virtual-machine
 - Process:  Already running ./virtual-machine.conf as virtual-machine (<a pid of qemu-system-x86_64>)

Describe the solution you'd like
It will be helpful to connect to a detached virtual machine using a flag or just by running the connect command.

@lj3954
Copy link
Contributor

lj3954 commented Jul 11, 2024

Can you demonstrate this being possible with SDL and/or GTK displays? For SPICE displays, this is definitely possible and should be the default behaviour.

@flexiondotorg
Copy link
Member

As far as I am aware, it is not possible to reattach QEMU to a running VM that was started using the SDL or GTK backends.

I have been considering changing quickemu to start VMs using SPICE by default, which would be one way to address this issue. There are other benefits to using SPICE, such as clipboard and USB sharing.

@flexiondotorg flexiondotorg added the enhancement New feature or request label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants