-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtme-ng: redirect kernel log to stderr in interactive mode
Redirect kernel messages to stderr when running in interactive mode, similar to what we do in command/script mode. In this way it is possible, for example, to save kernel logs to a file even when running in interactive mode, such as: $ vng -vr 2>/tmp/kernel.log NOTE: unfortunately we can't redirect early boot kernel messages, earlyprintk doesn't seem to work with virconsole devices. So, early messages will be still sent to stdout, in this way we don't break the old behavior. This addresses discussion #60. Signed-off-by: Andrea Righi <[email protected]>
- Loading branch information
Andrea Righi
committed
Feb 4, 2024
1 parent
00caf60
commit ecd8006
Showing
4 changed files
with
37 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
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
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