From: Olaf Hering <olaf@aepfle.de>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH] linux-2.6.18/xencons: generalize use of add_preferred_console()
Date: Fri, 7 Feb 2014 11:07:33 +0100 [thread overview]
Message-ID: <20140207100733.GA1958@aepfle.de> (raw)
In-Reply-To: <52F4B1A7020000780011A14B@nat28.tlf.novell.com>
On Fri, Feb 07, Jan Beulich wrote:
> >>> On 07.02.14 at 09:32, Olaf Hering <olaf@aepfle.de> wrote:
> > On Fri, Feb 07, Jan Beulich wrote:
> >
> >> They question is what the intended behavior here is: I'd generally
> >
> > In my opinion dom0 is just a child of Xen, which should follow the rules
> > of the parent. If Xen is configured to have its console on serial then
> > the default of dom0 should be to follow just that. Appearently its just
> > a matter of correctly using xvc0.
> >
> > I'm not sure what the gain would be to have Xen on serial and dom0
> > somewhere else, and enforcing the need of a console= cmdline option to
> > point dom0 also to serial. Thats just doing things twice.
>
> That's a fair point, but leaves aside the case of Xen _not_ using
> the serial console. Dom0 has no way to know, and hence would
> still push output there, not knowing that it ends up no-where.
You mean no Xen console= option implies that dom0 writes no-where? I
would think dom0 will use the graphics card in this case to send its
output.
> Also the "follow the rules of the parent" already doesn't apply for
> the VGA console case, where Dom0 makes its own decision too
> (and it's for that reason that Xen needs to stop sending data to
> the VGA in order to not interfere). Hence I'm not sure that
> argument really counts.
The details about driving a certain hardware dont really matter. I think
the important part is "goes to the wire" vs. "goes to the monitor".
I think the bug is that register_console("xvc") is called without a
preceeding add_prefered_console, which with current kernels means a
second entry in /proc/consoles. This in turn lets systemd spawn a login
for that.
Somehow I think the rules have changed since 2.6.18. I will have a look
at this now.
Olaf
next prev parent reply other threads:[~2014-02-07 10:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-13 9:30 [PATCH] linux-2.6.18/xencons: generalize use of add_preferred_console() Jan Beulich
2014-02-06 22:53 ` Olaf Hering
2014-02-07 8:18 ` Jan Beulich
2014-02-07 8:32 ` Olaf Hering
2014-02-07 9:12 ` Jan Beulich
2014-02-07 10:07 ` Olaf Hering [this message]
2014-02-07 10:24 ` Jan Beulich
2014-02-07 12:30 ` Olaf Hering
2014-02-07 12:38 ` 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=20140207100733.GA1958@aepfle.de \
--to=olaf@aepfle.de \
--cc=JBeulich@suse.com \
--cc=ian.campbell@citrix.com \
--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.