From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
Keir Fraser <keir@xen.org>,
Ian.Campbell@citrix.com
Subject: Re: [PATCH RFC] xen/console: buffer and show origin of guest PV writes
Date: Tue, 13 Aug 2013 13:47:58 -0400 [thread overview]
Message-ID: <520A714E.8010600@tycho.nsa.gov> (raw)
In-Reply-To: <520A805402000078000EBA14@nat28.tlf.novell.com>
On 08/13/2013 12:52 PM, Jan Beulich wrote:
>>>> On 13.08.13 at 18:34, Daniel De Graaf <dgdegra@tycho.nsa.gov> wrote:
>> 1. HVM guests' output is currently limited to printable characters; do
>> we want to implement the same restriction on PV guests?
>
> Would seem to make sense.
It seems only dom0 will try to use control characters under normal
conditions, so this shouldn't cause any issues (hopefully).
>> 2. The prefix on the serial console for PV output is "(XEN) d5: ", while
>> HVM output is still "(XEN) HVM5: "; should these be made consistent?
>
> Uniformly using e.g. "(Dom%d) " instead of "(XEN) " for domain output
> might be best?
I think this makes sense as a way to distinguish guest output from Xen
output regarding a guest. This will probably require introducing a
vprintk-ish function to add the guest domid argument.
The original version of this patch used "(%d) ", but I think "(d%d) " or
"(dom%d) " may end up being clearer.
>> 3. Should we change to allowing console output by default, since it is
>> now controlled by log levels?
>
> I don't think we should, not the least because guest output doesn't
> really specify a log level, and default log level messages make it
> through with default options.
The existing HVM guest output is done with XENLOG_G_DEBUG, which was
copied for the PV guest output. The default value of guest_loglvl on a
debug build includes this output, but on a non-debug build hides it.
> Will have to look at the patch itself later, but you should have Cc-ed
> Keir in any case (as he will eventually need to ack it).
>
> Jan
Ah, for some reason I didn't have him on the original list. I have added
him to this message to highlight the thread and will fix that on a resend.
--
Daniel De Graaf
National Security Agency
next prev parent reply other threads:[~2013-08-13 17:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-13 16:34 [PATCH RFC] xen/console: buffer and show origin of guest PV writes Daniel De Graaf
2013-08-13 16:40 ` Pasi Kärkkäinen
2013-08-13 17:00 ` Daniel De Graaf
2013-08-13 16:52 ` Jan Beulich
2013-08-13 17:47 ` Daniel De Graaf [this message]
2013-08-14 9:16 ` Jan Beulich
2013-08-13 17:18 ` Andrew Cooper
2013-08-13 17:47 ` Daniel De Graaf
2013-08-14 10:03 ` Jan Beulich
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=520A714E.8010600@tycho.nsa.gov \
--to=dgdegra@tycho.nsa.gov \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.