public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <levinsasha928@gmail.com>
To: Pekka Enberg <penberg@kernel.org>
Cc: Asias He <asias.hejun@gmail.com>,
	kvm@vger.kernel.org, mingo@elte.hu, gorcunov@gmail.com
Subject: Re: [PATCH] kvm tools: Print only serial output to the terminal
Date: Thu, 11 Aug 2011 11:56:37 +0300	[thread overview]
Message-ID: <1313052997.3456.8.camel@lappy> (raw)
In-Reply-To: <CAOJsxLFMNax83wR4zzvGDu3-gTLQXmLq3bA1mPnQeLw0WfzCXQ@mail.gmail.com>

On Wed, 2011-08-10 at 19:45 +0300, Pekka Enberg wrote:
> > On 08/10/2011 09:34 PM, Pekka Enberg wrote:
> >> On Wed, 10 Aug 2011, Sasha Levin wrote:
> >>> This patch changes the serial device to print only auxiliary output to
> >>> the
> >>> terminal.
> >>>
> >>> Doing so prevents printing output which the guest kernel never
> >>> intended us
> >>> to print and by printing it we wrote junk to the users terminal.
> >>>
> >>> Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
> >>
> >> This doesn't seem to work for me. As soon as we switch to userspace, I
> >> don't get any output from serial console.
> 
> On Wed, Aug 10, 2011 at 7:39 PM, Asias He <asias.hejun@gmail.com> wrote:
> > This works for. Pekka, did you enable something like:
> >
> >   T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
> >
> > in guest's /etc/inittab.
> 
> No I didn't but that's not really a solution to the problem. We can't
> expect people to configure guest userspace for something as basic as
> console.

I tested it again with /bin/sh boot, and it still works fine here.

Something is fishy in your kernel :)

-- 

Sasha.


  parent reply	other threads:[~2011-08-11  8:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10  9:52 [PATCH] kvm tools: Print only serial output to the terminal Sasha Levin
2011-08-10  9:58 ` Pekka Enberg
2011-08-10 13:34 ` Pekka Enberg
2011-08-10 13:43   ` walimis
2011-08-10 15:06     ` Sasha Levin
2011-08-10 15:28       ` Pekka Enberg
2011-08-10 16:39   ` Asias He
2011-08-10 16:45     ` Pekka Enberg
2011-08-11  3:06       ` walimis
2011-08-11  8:56       ` Sasha Levin [this message]
2011-08-11 13:42         ` Pekka Enberg
2011-08-11 15:19           ` Sasha Levin
2011-08-11 15:14             ` walimis
2011-08-11 15:31               ` Sasha Levin
2011-08-11 15:55                 ` Pekka Enberg

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=1313052997.3456.8.camel@lappy \
    --to=levinsasha928@gmail.com \
    --cc=asias.hejun@gmail.com \
    --cc=gorcunov@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@kernel.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