Re: [Qemu-devel] [PATCH v7 01/12] migration: Add post_save function to VMStateDescription

2018-11-16 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > On 5 November 2018 at 18:51, Aaron Lindsay > wrote: > > In some cases it may be helpful to modify state before saving it for > > migration, and then modify the state back after it has been saved. The > > existing pre_save function provides half

Re: [Qemu-devel] [PATCH v7 01/12] migration: Add post_save function to VMStateDescription

2018-11-16 Thread Peter Maydell
On 5 November 2018 at 18:51, Aaron Lindsay wrote: > In some cases it may be helpful to modify state before saving it for > migration, and then modify the state back after it has been saved. The > existing pre_save function provides half of this functionality. This > patch adds a post_save function

[Qemu-devel] [PATCH v7 01/12] migration: Add post_save function to VMStateDescription

2018-11-05 Thread Aaron Lindsay
In some cases it may be helpful to modify state before saving it for migration, and then modify the state back after it has been saved. The existing pre_save function provides half of this functionality. This patch adds a post_save function to provide the second half. Signed-off-by: Aaron Lindsay