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: Gonglei (Arei)
Subject: Re: [Qemu-devel] [PATCH RFC] ps2: set the keybord output buffer size as the same as kernel
Date: Tue, 22 Apr 2014 08:16:50 +0000

> 
> > 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.
> 
Good catch, Gerd.
I got the information in the destination of live migration:
Unknown savevm section type 24
load of migration failed

I'm not familiar with the situation of cross-version live migration, could you 
give me 
some guide ? Thanks.

Best regards,
-Gonglei

reply via email to

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