Re: [Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-28 Thread Gerd Hoffmann
Hi, > > If the kernel has booted up, the check will not happen, so the Linux kernel > > will not get confused. > > I didn't find that the checking is necessary in protocol docs. > any hint? > > If we still use 256 size buffer in qemu, guest ps2 driver will drop > some input keys? or just del

Re: [Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-26 Thread Gonglei (Arei)
Hi, > > > > > > Why we can't break keyboard by flooding input after boot up? > > > > > Actually, I have pointed the root reason about this issue in other email. > > > > When the linux kernel booting, will init the i8042 controller > (drivers/input/serio/i8042.c), and > > check the i8042 controller

Re: [Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-26 Thread Amos Kong
On Sat, Apr 26, 2014 at 06:21:18AM +, Gonglei (Arei) wrote: > Hi, > > > On Thu, Apr 24, 2014 at 08:06:19PM +0800, arei.gong...@huawei.com wrote: > > > From: Gonglei > > > > > > According to the PS/2 Mouse/Keyboard Protocol, the keyboard outupt buffer > > size > > > is 16 bytes. And the PS2_QU

Re: [Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-25 Thread Gonglei (Arei)
Hi, > On Thu, Apr 24, 2014 at 08:06:19PM +0800, arei.gong...@huawei.com wrote: > > From: Gonglei > > > > According to the PS/2 Mouse/Keyboard Protocol, the keyboard outupt buffer > size > > is 16 bytes. And the PS2_QUEUE_SIZE 256 was introduced in Qemu from the > very > > beginning. > > > > When

Re: [Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-25 Thread Amos Kong
On Thu, Apr 24, 2014 at 08:06:19PM +0800, arei.gong...@huawei.com wrote: > From: Gonglei > > According to the PS/2 Mouse/Keyboard Protocol, the keyboard outupt buffer size > is 16 bytes. And the PS2_QUEUE_SIZE 256 was introduced in Qemu from the very > beginning. > > When I started a redhat5.6

Re: [Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-25 Thread Gonglei (Arei)
Hi, > On Do, 2014-04-24 at 20:06 +0800, arei.gong...@huawei.com wrote: > > From: Gonglei > > > > According to the PS/2 Mouse/Keyboard Protocol, the keyboard outupt buffer > size > > is 16 bytes. And the PS2_QUEUE_SIZE 256 was introduced in Qemu from the > very > > beginning. > > Hmm, seems there

Re: [Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-25 Thread Gerd Hoffmann
On Do, 2014-04-24 at 20:06 +0800, arei.gong...@huawei.com wrote: > From: Gonglei > > According to the PS/2 Mouse/Keyboard Protocol, the keyboard outupt buffer size > is 16 bytes. And the PS2_QUEUE_SIZE 256 was introduced in Qemu from the very > beginning. Hmm, seems there is no maintainer for ps

Re: [Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-24 Thread Juan Quintela
wrote: > From: Gonglei > > According to the PS/2 Mouse/Keyboard Protocol, the keyboard outupt buffer size > is 16 bytes. And the PS2_QUEUE_SIZE 256 was introduced in Qemu from the very > beginning. > > When I started a redhat5.6 32bit guest, meanwhile tapped the keyboard as > quickly as > possi

[Qemu-devel] [PATCH v3] ps2: set ps/2 output buffer size as the same as kernel

2014-04-24 Thread arei.gonglei
From: Gonglei According to the PS/2 Mouse/Keyboard Protocol, the keyboard outupt buffer size is 16 bytes. And the PS2_QUEUE_SIZE 256 was introduced in Qemu from the very beginning. When I started a redhat5.6 32bit guest, meanwhile tapped the keyboard as quickly as possible, the screen would sh