We've got __HYPERVISOR_console_io working on our unikernel!
The only
issue is that it prints to `xl dmesg`. Is there a way to
get it to
print to `xl console`?
No. They are two very different consoles.
`xl dmesg` reads the hypervisor console, which is where
__HYPERVISOR_console_io hypercalls end up (in debug builds of Xen).
`xl console` however is the paravirtual console. Each domain has a
page of RAM (the PV console), which is mapped by the xenconsoled
daemon in dom0. xenconsoled performs duties such as logging and
creation of a pty master for two-way interaction. `xl console`
connects to the pty master for the appropriate domain.
To get messages appearing in `xl console`, you must implement the
guest side of the PV console interface.