Re: [Qemu-devel] [PATCH] Don't crash on keyboard input with no handler

2013-11-19 Thread Don Koch
On 11/19/2013 02:17 PM, Stefan Weil wrote: > Am 19.11.2013 19:26, schrieb Don Koch: >> 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. >> >> Signed-off-by: Don Koch >

Re: [Qemu-devel] [PATCH] Don't crash on keyboard input with no handler

2013-11-19 Thread Stefan Weil
Am 19.11.2013 19:26, schrieb Don Koch: > 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. > > Signed-off-by: Don Koch > --- > I left the printf call, originally for testi

[Qemu-devel] [PATCH] Don't crash on keyboard input with no handler

2013-11-19 Thread Don Koch
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. Signed-off-by: Don Koch --- I left the printf call, originally for testing, but useful as a sanity check if the user wonders