From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VnX9S-0006yU-VO for mharc-qemu-trivial@gnu.org; Mon, 02 Dec 2013 12:19:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnX9J-0006oQ-Ez for qemu-trivial@nongnu.org; Mon, 02 Dec 2013 12:19:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnX9D-00073U-FN for qemu-trivial@nongnu.org; Mon, 02 Dec 2013 12:19:09 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:52939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnX91-00072C-6A; Mon, 02 Dec 2013 12:18:51 -0500 Received: from [192.168.88.2] (mjt.vpn.tls.msk.ru [192.168.177.99]) by isrv.corpit.ru (Postfix) with ESMTP id 6187D405E8; Mon, 2 Dec 2013 21:18:48 +0400 (MSK) Message-ID: <529CC0F8.2070803@msgid.tls.msk.ru> Date: Mon, 02 Dec 2013 21:18:48 +0400 From: Michael Tokarev Organization: Telecom Service, JSC User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Don Koch References: <528BC3B7.2090205@terremark.com> In-Reply-To: <528BC3B7.2090205@terremark.com> X-Enigmail-Version: 1.5.1 OpenPGP: id=804465C5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial , qemu-devel , Anthony Liguori Subject: Re: [Qemu-trivial] [PATCH v2] Don't crash on keyboard input with no handler X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2013 17:19:15 -0000 20.11.2013 00:01, Don Koch wrote: > Prevent a call to put_kbd if null. > > On shutdown of some OSes, the keyboard handler goes away before the > system is down. If a key is typed during this window, qemu crashes. Thanks, applied to the trivial patches queue. /mjt From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnX97-0006jO-Fz for qemu-devel@nongnu.org; Mon, 02 Dec 2013 12:19:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnX91-00072R-DY for qemu-devel@nongnu.org; Mon, 02 Dec 2013 12:18:57 -0500 Message-ID: <529CC0F8.2070803@msgid.tls.msk.ru> Date: Mon, 02 Dec 2013 21:18:48 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <528BC3B7.2090205@terremark.com> In-Reply-To: <528BC3B7.2090205@terremark.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] Don't crash on keyboard input with no handler List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Don Koch Cc: qemu-trivial , qemu-devel , Anthony Liguori 20.11.2013 00:01, Don Koch wrote: > Prevent a call to put_kbd if null. > > On shutdown of some OSes, the keyboard handler goes away before the > system is down. If a key is typed during this window, qemu crashes. Thanks, applied to the trivial patches queue. /mjt