From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asias He Subject: Re: [PATCH] kvm tools: Print only serial output to the terminal Date: Thu, 11 Aug 2011 00:39:42 +0800 Message-ID: <4E42B44E.1050602@gmail.com> References: <1312969969-14433-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Sasha Levin , kvm@vger.kernel.org, mingo@elte.hu, gorcunov@gmail.com To: Pekka Enberg Return-path: Received: from mail-pz0-f42.google.com ([209.85.210.42]:33493 "EHLO mail-pz0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582Ab1HJQkJ (ORCPT ); Wed, 10 Aug 2011 12:40:09 -0400 Received: by pzk37 with SMTP id 37so2114608pzk.1 for ; Wed, 10 Aug 2011 09:40:09 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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 > > This doesn't seem to work for me. As soon as we switch to userspace, I > don't get any output from serial console. This works for. Pekka, did you enable something like: T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 in guest's /etc/inittab. -- Best Regards, Asias He