From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLxgH-0003B5-S2 for qemu-devel@nongnu.org; Tue, 08 Jun 2010 08:13:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLxgF-0007XV-Gm for qemu-devel@nongnu.org; Tue, 08 Jun 2010 08:13:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30724) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLxgF-0007Ws-7N for qemu-devel@nongnu.org; Tue, 08 Jun 2010 08:13:19 -0400 Date: Tue, 8 Jun 2010 15:14:11 +0300 From: Shahar Havivi Message-ID: <20100608121410.GA19555@redhat.com> References: <1275993831-31425-1-git-send-email-Jes.Sorensen@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1275993831-31425-1-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] Re: [PATCH] un-register kbd driver for USB kbd unplug List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes.Sorensen@redhat.com, anthony@codemonkey.ws Cc: qemu-devel@nongnu.org On Tue, Jun 08, 2010 at 12:43:50PM +0200, Jes.Sorensen@redhat.com wrote: > Date: Tue, 8 Jun 2010 12:43:50 +0200 > From: Jes.Sorensen@redhat.com > To: anthony@codemonkey.ws > Cc: qemu-devel@nongnu.org, shavivi@redhat.com, > Jes Sorensen > Subject: [PATCH] un-register kbd driver for USB kbd unplug > > From: Jes Sorensen > > Hi, > > This is a fairly simple fix for the problem where the keyboard event > handler is left in place when a keyboard is unplugged, eg. USB. > > The long term solution would be to use Shahar Havivi's multi-keyboard > support patch[1] from March, but until Shahar's patch is ready, this one > fixes the current crash problem. > > Cheers, > Jes Anthony, You reply that you applied the patch: http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg00673.html but it didn't made it, is there a problem with the patch? Thanks, Shahar. > > [1]: http://www.mail-archive.com/qemu-devel@nongnu.org/msg28589.html > > Jes Sorensen (1): > un-register kbd driver in case of USB kbd unplug. > > console.h | 1 + > hw/usb-hid.c | 3 +++ > input.c | 6 ++++++ > 3 files changed, 10 insertions(+), 0 deletions(-) >