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@xxxxxxxxx> > >> > >> 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@xxxxxxxxx> 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. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html