qemu/docs
Peter Maydell 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
..
qmp qmp: Make Quorum error events more palatable. 2014-02-28 18:59:06 +01:00
specs vga: add secondary stdvga variant 2014-04-28 11:03:32 +02:00
atomics.txt add a header file for atomic operations 2013-07-04 17:42:49 +02:00
blkverify.txt
bootindex.txt Typo, spelling and grammatical fixes 2013-04-12 14:33:20 +02:00
ccid.txt docs/ccid.txt: fix the typo 2013-10-26 13:04:12 +04:00
ich9-ehci-uhci.cfg
libcacard.txt
live-block-ops.txt
memory.txt docs/memory.txt: Clarify and expand priority/overlap documentation 2013-11-05 19:59:24 -08:00
migration.txt savevm: Ignore minimum_version_id_old if there is no load_state_old 2014-05-05 22:15:03 +02:00
q35-chipset.cfg q35: Add PCIe switch to example q35 configuration 2013-08-21 12:39:15 +03:00
qapi-code-gen.txt qapi script: do not allow string discriminator 2014-03-11 09:07:42 -04:00
qdev-device-use.txt
qemupciserial.inf Docs: Introduce multiport serial support in qemupciserial.inf. 2014-03-12 10:33:23 +01:00
rdma.txt rdma: rename 'x-rdma' => 'rdma' 2014-02-25 14:30:28 +01:00
spice-port-fqdn.txt
tracing.txt Update documentation for LTTng ust tracing 2014-02-19 11:08:54 +01:00
usb2.txt usb: update docs for bus name change 2013-04-03 11:39:43 +02:00
usb-storage.txt Fix typos and misspellings 2013-03-22 13:25:07 +01:00
virtio-balloon-stats.txt docs: document virtio-balloon stats 2013-01-25 10:49:46 -02:00
vnc-ledstate-Pseudo-encoding.txt doc: document the Pseudo-encoding of LED state 2013-04-29 08:28:51 -05:00
writing-qmp-commands.txt Use error_is_set() only when necessary (again) 2014-04-25 18:05:06 +02:00
xbzrle.txt
xen-save-devices-state.txt