[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Debugging console

On 28/12/2015 16:30, Carl Patenaude Poulin wrote:
Hi all,

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.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.