Peter MaydellandJuan Quintela 767adce2d9 savevm: Ignore minimum_version_id_old if there is no load_state_old
At the moment we require vmstate definitions to set minimum_version_id_old
to the same value as minimum_version_id if they do not provide a
load_state_old handler. Since the load_state_old functionality is
required only for a handful of devices that need to retain migration
compatibility with a pre-vmstate implementation, this means the bulk
of devices have pointless boilerplate. Relax the definition so that
minimum_version_id_old is ignored if there is no load_state_old handler.

Note that under the old scheme we would segfault if the vmstate
specified a minimum_version_id_old that was less than minimum_version_id
but did not provide a load_state_old function, and the incoming state
specified a version number between minimum_version_id_old and
minimum_version_id. Under the new scheme this will just result in
our failing the migration.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2014-05-05 22:15:03 +02:00
2014-04-23 10:28:14 +02:00
2014-04-25 12:59:57 +02:00
2014-04-28 08:55:31 +04:00
2014-04-25 09:19:58 -04:00
2014-04-30 14:39:58 +02:00
2014-04-28 11:06:35 -07:00
2014-04-28 08:55:31 +04:00
2014-03-12 17:26:32 +01:00
2014-04-30 11:05:00 +02:00
2014-03-19 19:47:15 +01:00
2014-03-13 14:42:24 +01:00
2014-03-27 15:19:00 +05:30
2014-02-21 21:02:23 +01:00
2014-03-13 14:34:16 +00:00
2014-02-25 14:30:28 +01:00
2014-04-18 10:33:36 +04:00
2014-03-27 15:19:00 +05:30
2014-04-22 12:00:20 +02:00
2014-04-22 12:00:20 +02:00
2014-03-05 03:06:24 +01:00
2014-02-17 11:57:23 -05:00
2014-04-17 20:39:32 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
No description provided
Readme
434 MiB
Languages
C 83.1%
C++ 6.1%
Python 3.4%
Dylan 2.7%
Shell 1.5%
Other 3%