[Qemu-devel] [PATCH] keyboard:fix ps2 keyboard can't use

2015-05-06 Thread penghao122
Starting a linux guest with ps2 keyboard, if you type many times during leaving grub and into linux kernel,then you can't use keyboard after linux initialization finished. Specally when you setup linux guest from iso file,you will type in grub. During grub,the work method of ps2 keyboard is like

Re: [Qemu-devel] [PATCH] keyboard:fix ps2 keyboard can't use

2015-05-06 Thread Eric Blake
On 05/06/2015 11:03 AM, Eric Blake wrote: > On 05/06/2015 10:20 AM, penghao...@sina.com wrote: > > Missing a 'v2' in the subject line (hint: git send-email -v2) > >> +++ b/hw/input/pckbd.c >> @@ -207,6 +207,8 @@ static uint64_t kbd_read_status(void *opaque, hwaddr >> addr, >> KBDState *s = opaq

Re: [Qemu-devel] [PATCH] keyboard:fix ps2 keyboard can't use

2015-05-06 Thread Eric Blake
On 05/06/2015 10:20 AM, penghao...@sina.com wrote: Missing a 'v2' in the subject line (hint: git send-email -v2) Subject line doesn't make sense, and has incorrect spacing after colon. What was wrong with my suggestion that I gave on your v1? keyboard: handle ps2 typing buffer overrun > Starti