diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-10-02 19:56:03 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-11-04 23:26:13 +0100 |
commit | f58aa483145789fbcc3b8a39873ce2b45d5b8d52 (patch) | |
tree | ee573623265886c04820b64180876929f64663e4 /hw/gpio | |
parent | 016f7758985290c8ca79fc9842fd697d61cbc0b0 (diff) | |
download | qemu-f58aa483145789fbcc3b8a39873ce2b45d5b8d52.zip |
spapr_nvram: Enable migration
The only case when sPAPR NVRAM migrates now is if is backed by a file and
copy-storage migration is performed. In other cases NVRAM does not
migrate regardless whether it is backed by a file or not.
This enables shadow copy of NVRAM in RAM which is read from a file
(if used) and used for reads. Writes to NVRAM are mirrored to the file.
This defines a VMSTATE descriptor for NVRAM device so the memory copy
of NVRAM can migrate and be flushed to a backing file on the destination
if one is specified.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/gpio')
0 files changed, 0 insertions, 0 deletions