Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423149AbXBHJIS (ORCPT ); Thu, 8 Feb 2007 04:08:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1423154AbXBHJIR (ORCPT ); Thu, 8 Feb 2007 04:08:17 -0500 Received: from smtp-outbound-1.vmware.com ([65.113.40.141]:40819 "EHLO smtp-outbound-1.vmware.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1423149AbXBHJIP (ORCPT ); Thu, 8 Feb 2007 04:08:15 -0500 Message-ID: <45CAE87E.8070502@vmware.com> Date: Thu, 08 Feb 2007 01:08:14 -0800 From: Zachary Amsden User-Agent: Thunderbird 1.5.0.9 (X11/20061206) MIME-Version: 1.0 To: Andi Kleen CC: Dmitry Torokhov , Linux Kernel Mailing List , Andrew Morton , Rusty Russell , Jeremy Fitzhardinge , Chris Wright Subject: Re: [PATCH 9/11] Panic delay fix References: <200702060353.l163rUmj000771@zach-dev.vmware.com> <20070206122729.GC47229@muc.de> <45C8FA2D.6010706@vmware.com> <45CA535D.1080700@vmware.com> <20070208082443.GA9928@muc.de> In-Reply-To: <20070208082443.GA9928@muc.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1311 Lines: 33 Andi Kleen wrote: > On Wed, Feb 07, 2007 at 02:31:57PM -0800, Zachary Amsden wrote: > >> Dmitry Torokhov wrote: >> >>> I am confused - does i8042 talk to a virtual or real hardware here? In >>> any case I think you need to fix kernel/panic.c to have proper >>> (m)delay, not mess with i8042. >>> >> I think I need to fix both of them actually. This is virtual hardware, >> but when you grab focus on a VM, the virtual hardware gets reflected to >> the actual physical keyboard. Driving physical hardware that fast is bad. >> > > ??? > > Surely the physical keyboard is always handled by the host kernel? > I hope you're not saying it's trying to access the io ports directly? > No, not that. But the virtual keyboard I/O gets processed and converted to physical keyboard I/O when a keyboard is attached to a VM. The result is that the virtual keyboard spinning out of control causes the physical keyboard to receive the same commands, far too rapidly. So the keyboard blinks out of control and acts as if possessed by demons. Zach - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/