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

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

2011-06-22 Thread Pavel Dovgaluk
Pavel Dovgaluk pavel.dovga...@ispras.ru 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

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 pavel.dovga...@ispras.ru 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

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). Signed-off-by: Pavel

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 needed function

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? Because I think, these

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 implement needed function for

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 idea how to implement needed

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 older one. Do you have

[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

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

2011-06-21 Thread Juan Quintela
Pavel Dovgaluk pavel.dovga...@ispras.ru 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