]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches-0.12.1/ps2-queue-size.diff
bump version to 2.9.0-1~rc2+5
[pve-qemu-kvm.git] / debian / patches-0.12.1 / ps2-queue-size.diff
1
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.
3
4 Linux guest will boot with "i8042.c: No controller found" and no keyboard.
5
6 Further discussion seem to lead to a conclusion that there is some obscure bug in Qemu BIOS which makes this problem visible.
7
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
15
16 -#define PS2_QUEUE_SIZE 256
17 +#define PS2_QUEUE_SIZE 15
18
19 typedef struct {
20 uint8_t data[PS2_QUEUE_SIZE];