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

Add a "QEMU Console" button in the toolbar for QEMU VMs, link to monitor. #3522

Closed
adespoton opened this issue Jan 22, 2022 · 7 comments
Closed
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@adespoton
Copy link

adespoton commented Jan 22, 2022

It would be great to expose the QEMU monitor for more advanced users.

Since this provides direct access to the existing QEMU interface for disk management, debugging, VM snapshots, etc. it would enable UTM users to use advanced features even if they're not being presented as options in the default UTM UI. It would also mean the QEMU monitor documentation would be directly applicable, so UTM wouldn't have to maintain its own documentation for the feature.

There's currently over a dozen feature requests in the Issue tracker that would instantly be resolved with this feature (direct people to use existing commands in monitor), plus others that could be properly debugged with the monitor easily available. Following implementation, feature requests could switch to exposing specific monitor features in the UI, rather than people making requests for features similar to what's already available in QEMU but hidden from the UI.

@adespoton adespoton added the enhancement New feature or request label Jan 22, 2022
@adespoton
Copy link
Author

To avoid confusion for regular users, it could be hidden by default, but an optional button to add to the toolbar in prefs.

@osy
Copy link
Contributor

osy commented Jan 22, 2022

There's currently over a dozen feature requests in the Issue tracker that would instantly be resolved with this feature (direct people to use existing commands in monitor)

I disagree with this philosophy. It's one of the most frustrating things dealing with the Linux community is that because more advanced options exist, people will just dismiss UX issues since "you can just do this in the terminal".

It would be great to expose the QEMU monitor for more advanced users.

There's plans to support PTY interface for serial forwarding. I can make QEMU monitor as an option for the serial port.

@adespoton
Copy link
Author

Your plans sound like a great option for macOS; how would that work for i*OS users?

I'm thinking that linking it in to your debug log would also be useful (and doable by just sending monitor commands in the background and emitting the results to STDOUT, such as the QEMU hardware configuration)

@osy
Copy link
Contributor

osy commented Jan 22, 2022

You can open a TCP port on iOS and use a telnet client.

@adespoton
Copy link
Author

I guess we can close this one as "won't fix" unless you want to change the title to "add QEMU monitor as an option for the serial port."

@conath conath added the wontfix This will not be worked on label Jan 27, 2022
@conath
Copy link
Contributor

conath commented Jan 27, 2022

@osy is there an open issue about the PTY interface?

@conath conath closed this as completed Jan 27, 2022
@conath
Copy link
Contributor

conath commented Jan 27, 2022

Superseded by #3546

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants