-
Notifications
You must be signed in to change notification settings - Fork 162
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
Fix: tty not found error for COM passthrough #4391
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adding agetty in build pkgs xen-tools/Dockerfile to fix "tty not found" error (1) Removing "tty" backend driver and replacing it with "serial" in kvm.go (2) Signed-off-by: Roja Eswaran <roja@zededa.com>
5d081f3
to
eed0c1b
Compare
Replaced backend tty with serial in the unit tests as the newer qemu version doesn't recognize "tty". Signed-off-by: Roja Eswaran <roja@zededa.com>
@eriknordmark Could you please kickoff the remaining tests? |
It passed all the eden tests earlier today. See https://github.com/lf-edge/eve/actions/runs/11445356764?pr=4391 |
It failed with the same error as before. |
This PR fixes the "tty not found " error in my local node where an app tries to have a direct attachment to the COM serial port. Coud you please share the error trace? |
FWIW to get it to work on the devices in the lab we use for regression testing we need the backend=serial. Note that when running on a virtual platform we use backend=serial already, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adding agetty in build pkgs xen-tools/Dockerfile to fix "tty not found" error