Re: [PATCH] Remove unnecessary minimum_version_id_old fields

2022-01-25 Thread Juan Quintela
Peter Maydell wrote: > The migration code will not look at a VMStateDescription's > minimum_version_id_old field unless that VMSD has set the > load_state_old field to something non-NULL. (The purpose of > minimum_version_id_old is to specify what migration version is needed > for the code in the

Re: [PATCH] Remove unnecessary minimum_version_id_old fields

2022-01-25 Thread Peter Maydell
On Tue, 25 Jan 2022 at 08:27, Juan Quintela wrote: > > Peter Maydell wrote: > > The migration code will not look at a VMStateDescription's > > minimum_version_id_old field unless that VMSD has set the > > load_state_old field to something non-NULL. (The purpose of > > minimum_version_id_old is t

Re: [PATCH] Remove unnecessary minimum_version_id_old fields

2022-01-25 Thread Juan Quintela
Peter Maydell wrote: > The migration code will not look at a VMStateDescription's > minimum_version_id_old field unless that VMSD has set the > load_state_old field to something non-NULL. (The purpose of > minimum_version_id_old is to specify what migration version is needed > for the code in the

Re: [PATCH] Remove unnecessary minimum_version_id_old fields

2022-01-20 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > The migration code will not look at a VMStateDescription's > minimum_version_id_old field unless that VMSD has set the > load_state_old field to something non-NULL. (The purpose of > minimum_version_id_old is to specify what migration version is

Re: [PATCH] Remove unnecessary minimum_version_id_old fields

2022-01-18 Thread Peter Maydell
On Tue, 18 Jan 2022 at 10:44, Peter Maydell wrote: > > The migration code will not look at a VMStateDescription's > minimum_version_id_old field unless that VMSD has set the > load_state_old field to something non-NULL. (The purpose of > minimum_version_id_old is to specify what migration version

[PATCH] Remove unnecessary minimum_version_id_old fields

2022-01-18 Thread Peter Maydell
The migration code will not look at a VMStateDescription's minimum_version_id_old field unless that VMSD has set the load_state_old field to something non-NULL. (The purpose of minimum_version_id_old is to specify what migration version is needed for the code in the function pointed to by load_sta