On 12/6/22 19:10, Alyssa Ross wrote:
On Tue, Dec 06, 2022 at 05:57:19PM +0200, Vadim Likholetov wrote:
I’ve done this — I have patched cloud-hypervisor to have three console devices — serial, console and user-console, but than decided that this patches will never go to C-H mainline so got back with more traditional approach with tmux :)
I'd be pretty optimistic about the chances of a patch that just made it so you could provide multiple consoles the same way you can provide multiple block devices. Like "--console pty file=/path/to/console.out" on the command like to make two consoles, one going to a pty and the other to a file.
Vadim, please go ahead and create a PR to C-H upstream. There's good chance your work would get accepted. Let's see their comments and and feedback. -Ville