-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmdlib: let qemu write command output on its stdout
Instead of using `tail -qF`, just write the output to a virtio-serial port and tell qemu to output that on its stdout. That way, we don't have to worry about cleaning up the `tail` process at all. This also fixes an issues we've been seeing where `tail` is killed before it had a chance to print the entire command output, which crucially might omit the final error message. Note we close stdin to qemu here otherwise it seems like it just waits forever for input to be written into the virtio port.
- Loading branch information
1 parent
e81b867
commit 4eb19f4
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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