From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: [PATCH] kvm tools: Add support for PS/2 keyboard system Date: Thu, 02 Jun 2011 12:23:24 +0300 Message-ID: <1307006604.27309.0.camel@jaguar> References: <1306940036-15540-1-git-send-email-levinsasha928@gmail.com> <1307005827.2785.26.camel@lappy> <20110602091811.GA9787@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Sasha Levin , kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, John Floren To: Ingo Molnar Return-path: Received: from filtteri1.pp.htv.fi ([213.243.153.184]:59287 "EHLO filtteri1.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932807Ab1FBJX0 (ORCPT ); Thu, 2 Jun 2011 05:23:26 -0400 In-Reply-To: <20110602091811.GA9787@elte.hu> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2011-06-02 at 11:18 +0200, Ingo Molnar wrote: > * Pekka Enberg wrote: > > > On Thu, 2 Jun 2011, Sasha Levin wrote: > > >Strange, those are the same errors you're supposed to get when theres no > > >i8042 device at all. > > > > > >Could you verify that hw/pckbd.c is being built? Did the makefile get > > >updated? > > > > > >What I'm seeing here is: > > > > > >[ 49.326316] i8042: PNP: No PS/2 controller found. Probing ports > > >directly. > > >[ 50.410492] serio: i8042 KBD port at 0x60,0x64 irq 1 > > >[ 51.518829] serio: i8042 AUX port at 0x60,0x64 irq 12 > > >[ 51.519104] mousedev: PS/2 mouse device common for all mice > > > > kbd_init() is called if that's what you wanted to know. > > btw., i suspect port IO printf()s in i8042.c would be rather > informative now: they would nicely and synchronously interlace with > guest serial console output, showing exactly what is going on in the > probing sequence. Do you mean a generic ioport tracing thing? ./kvm run --trace=ioport or something? Pekka