From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH] kvm tools: Print only serial output to the terminal Date: Wed, 10 Aug 2011 18:06:41 +0300 Message-ID: <1312988801.15665.0.camel@lappy> References: <1312969969-14433-1-git-send-email-levinsasha928@gmail.com> <20110810134309.GA26871@walimis-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Pekka Enberg , kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com To: walimis Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:45781 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753056Ab1HJPHj (ORCPT ); Wed, 10 Aug 2011 11:07:39 -0400 Received: by fxh19 with SMTP id 19so967401fxh.19 for ; Wed, 10 Aug 2011 08:07:38 -0700 (PDT) In-Reply-To: <20110810134309.GA26871@walimis-desktop> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2011-08-10 at 21:43 +0800, walimis wrote: > On Wed, Aug 10, 2011 at 04:34:53PM +0300, 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. > It works for me. Same here. Pekka, could you check whats the MCR value when your guest is writing from usermode? -- Sasha.