add the zeroinit block driver filter
[pve-qemu-kvm.git] / debian / patches / old / ps2-queue-size.diff
blob58564bc4efb0f35955641f870a11edabdb393f51
2 bug description: boot a guest, open VNC console, and when it's still in BIOS / bootloader sequence, type as many keys as you can, move your mouse as much as you can. If needed, just reboot the guest.
4 Linux guest will boot with "i8042.c: No controller found" and no keyboard.
6 Further discussion seem to lead to a conclusion that there is some obscure bug in Qemu BIOS which makes this problem visible.
8 Index: kvm-86/hw/ps2.c
9 ===================================================================
10 --- kvm-86.orig/hw/ps2.c 2009-06-15 13:31:24.000000000 +0200
11 +++ kvm-86/hw/ps2.c 2009-06-15 13:31:50.000000000 +0200
12 @@ -70,7 +70,7 @@
13 #define MOUSE_STATUS_ENABLED 0x20
14 #define MOUSE_STATUS_SCALE21 0x10
16 -#define PS2_QUEUE_SIZE 256
17 +#define PS2_QUEUE_SIZE 15
19 typedef struct {
20 uint8_t data[PS2_QUEUE_SIZE];