From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Carl Patenaude Poulin <carl.patenaudepoulin@mail.mcgill.ca>,
xen-devel@lists.xen.org
Subject: Re: Debugging console
Date: Tue, 29 Dec 2015 13:00:25 +0000 [thread overview]
Message-ID: <568283E9.1090404@citrix.com> (raw)
In-Reply-To: <CA+v+NpKHBPqhfXTLayTHVB+_qhR0avikD=r6oobZPjwvpzR3EA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 836 bytes --]
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.
~Andrew
[-- Attachment #1.2: Type: text/html, Size: 1528 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2015-12-29 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-28 16:30 Debugging console Carl Patenaude Poulin
2015-12-28 23:28 ` quizyjones
2015-12-29 13:00 ` Andrew Cooper [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=568283E9.1090404@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=carl.patenaudepoulin@mail.mcgill.ca \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).