Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-23 Thread Andreas Färber
Am 22.06.2011 um 10:58 schrieb Pavel Dovgaluk: This patch fixes save/restore of serial interface's state. It includes changing of fcr setter function (it now does not invoke an interrupt while loading vmstate), and saving/restoring all fields that describe the state of serial interface (inc

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-22 Thread Jan Kiszka
On 2011-06-22 12:13, Pavel Dovgaluk wrote: >> On 2011-06-22 11:15, Pavel Dovgaluk wrote: >>> What is the purpose of subsections? >> >> To skip the new fields whenever possible. That would allow to continue >> saving a vmstate on a new version of qemu and then restoring it on an >>

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-22 Thread Pavel Dovgaluk
> On 2011-06-22 11:15, Pavel Dovgaluk wrote: > > What is the purpose of subsections? > > To skip the new fields whenever possible. That would allow to continue > saving a vmstate on a new version of qemu and then restoring it on an > older one. > >>> > >>> Do you have an

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-22 Thread Jan Kiszka
On 2011-06-22 11:15, Pavel Dovgaluk wrote: > What is the purpose of subsections? To skip the new fields whenever possible. That would allow to continue saving a vmstate on a new version of qemu and then restoring it on an older one. >>> >>> Do you have an idea how to imp

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-22 Thread Pavel Dovgaluk
> >>> What is the purpose of subsections? > >> > >> To skip the new fields whenever possible. That would allow to continue > >> saving a vmstate on a new version of qemu and then restoring it on an > >> older one. > > > > Do you have an idea how to implement "needed" function for my case? > > B

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-22 Thread Jan Kiszka
On 2011-06-22 10:58, Pavel Dovgaluk wrote: >>> What is the purpose of subsections? >> >> To skip the new fields whenever possible. That would allow to continue >> saving a vmstate on a new version of qemu and then restoring it on an >> older one. > > Do you have an idea how to implement "neede

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-22 Thread Pavel Dovgaluk
> >>> This patch fixes save/restore of serial interface's state. > >>> It includes changing of fcr setter function (it now does not invoke > >>> an interrupt while loading vmstate), and saving/restoring all > >>> fields that describe the state of serial interface (including timers). > >>> > >>>

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-22 Thread Jan Kiszka
On 2011-06-22 08:19, Pavel Dovgaluk wrote: >> "Pavel Dovgaluk" wrote: >>> This patch fixes save/restore of serial interface's state. >>> It includes changing of fcr setter function (it now does not invoke >>> an interrupt while loading vmstate), and saving/restoring all >>> fields that describ

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-21 Thread Pavel Dovgaluk
> "Pavel Dovgaluk" wrote: > > This patch fixes save/restore of serial interface's state. > > It includes changing of fcr setter function (it now does not invoke > > an interrupt while loading vmstate), and saving/restoring all > > fields that describe the state of serial interface (including t

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-21 Thread Juan Quintela
"Pavel Dovgaluk" wrote: > This patch fixes save/restore of serial interface's state. > It includes changing of fcr setter function (it now does not invoke > an interrupt while loading vmstate), and saving/restoring all > fields that describe the state of serial interface (including timers). >

[Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-21 Thread Pavel Dovgaluk
This patch fixes save/restore of serial interface's state. It includes changing of fcr setter function (it now does not invoke an interrupt while loading vmstate), and saving/restoring all fields that describe the state of serial interface (including timers). Signed-off-by: Pavel Dovgalyuk --