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 "console type=pty" to HVM domain configuration #3039

Closed
kitambi opened this Issue Aug 18, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@kitambi

kitambi commented Aug 18, 2017

Qubes OS version (e.g., R3.2):

4.0rc1

Affected TemplateVMs (e.g., fedora-23, if applicable):

All HVM


Expected behavior:

"xl console" connects to the VM's console

Actual behavior:

xenconsole: Could not read tty from store: No such file or directory

Steps to reproduce the behavior:

Run "sudo xl console <hvm_domain>"

General notes:

We can avoid the overhead of the "debug mode" virtual VGA console by adding this option, and also setting up HVM templates with serial consoles. It's also convenient when you're troubleshooting a template that you're hacking on, because a reboot won't be required to get onto the console.

Related issues:

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 30, 2017

Member

You can use sudo xl console -t pv <hvm_domain> for this. Appropriate device is set already. Unfortunately it isn't possible to change default behavior of xl console (-t pv option) from domain config.

Bonus: even without debug mode, you can access VGA console with qvm-start-gui --force-stubdomain VMNAME

Member

marmarek commented Aug 30, 2017

You can use sudo xl console -t pv <hvm_domain> for this. Appropriate device is set already. Unfortunately it isn't possible to change default behavior of xl console (-t pv option) from domain config.

Bonus: even without debug mode, you can access VGA console with qvm-start-gui --force-stubdomain VMNAME

@marmarek marmarek closed this Aug 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment