Replies: 3 comments 11 replies
-
Kernel log is sent to stderr while script output is sent to stdout, so they're already separated. If you want to isolate the kernel log you can just redirect stderr somewhere, like |
Beta Was this translation helpful? Give feedback.
-
Is the virtme user in the tty group?
It should be doable, I'll look at that. |
Beta Was this translation helpful? Give feedback.
-
...
Hey @kuba-moo let me know what you think about #66. I haven't been able to figure out a way to redirect earlyprintk messages, but at least we can redirect all the other printk's to stderr with this one applied. |
Beta Was this translation helpful? Give feedback.
-
Having kernel dump to stdout makes output parsing harder. If I specify two console=ttySx in virtme/architectures.py bash doesn't start, saying:
Just adding a serial device and trying to spawn terminal on it or send kernel logs to it with
setlogcons
does not do anything.Is there a good way to get kernel to print to a separate console?
Beta Was this translation helpful? Give feedback.
All reactions