From mboxrd@z Thu Jan 1 00:00:00 1970 From: walimis Subject: Re: [PATCH] kvm tools: Print only serial output to the terminal Date: Thu, 11 Aug 2011 11:06:55 +0800 Message-ID: <20110811030655.GA13190@walimis-desktop> References: <1312969969-14433-1-git-send-email-levinsasha928@gmail.com> <4E42B44E.1050602@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Asias He , Sasha Levin , kvm@vger.kernel.org, mingo@elte.hu, gorcunov@gmail.com To: Pekka Enberg Return-path: Received: from mail-ww0-f42.google.com ([74.125.82.42]:51165 "EHLO mail-ww0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753844Ab1HKDXC (ORCPT ); Wed, 10 Aug 2011 23:23:02 -0400 Received: by wwe5 with SMTP id 5so3723310wwe.1 for ; Wed, 10 Aug 2011 20:23:01 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Aug 10, 2011 at 07:45:27PM +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 >>> >>> 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 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. My suggestion is that we don't need to fix this problem, because it's not a real issue of kvm, but of the driver of kernel. walimis > > Pekka >-- >To unsubscribe from this list: send the line "unsubscribe kvm" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html