• Alexey Kardashevskiy's avatar
    spapr_nvram: Enable migration · f58aa483
    Alexey Kardashevskiy authored
    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: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
    Reviewed-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    f58aa483
Name
Last commit
Last update
..
Makefile.objs Loading commit data...
ds1225y.c Loading commit data...
eeprom93xx.c Loading commit data...
fw_cfg.c Loading commit data...
mac_nvram.c Loading commit data...
spapr_nvram.c Loading commit data...