qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC] ps2: set the keybord output buffer size as


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH RFC] ps2: set the keybord output buffer size as the same as kernel
Date: Tue, 22 Apr 2014 09:19:30 +0200

> diff --git a/hw/input/ps2.c b/hw/input/ps2.c
> index 3412079..a754fef 100644
> --- a/hw/input/ps2.c
> +++ b/hw/input/ps2.c
> @@ -71,7 +71,7 @@
>  #define MOUSE_STATUS_ENABLED    0x20
>  #define MOUSE_STATUS_SCALE21    0x10
>  
> -#define PS2_QUEUE_SIZE 256
> +#define PS2_QUEUE_SIZE 16     /* Keyboard output buffer size */
>  
>  typedef struct {
>      uint8_t data[PS2_QUEUE_SIZE];

This changes ps2 vmstate and breaks live migration.

cheers,
  Gerd






reply via email to

[Prev in Thread] Current Thread [Next in Thread]