Il 19/09/2014 08:48, Alexey Kardashevskiy ha scritto:
> Right now we use NVRAM on sPAPR as:
> -drive id=id3,if=none,file=qemu_nvram.img
> -global spapr-nvram.drive=id3
> 
> So the NVRAM file is BlockDriverState and HMP's "migrate -b" copies the
> content just fine.
> 
> What is missing here? Thanks.

"migrate -b" is a big hammer, because it transfers all disks.  In some
cases it is useful to have shared storage for disks and non-shared
storage for variable stores.

For UEFI, we are using RAM migration to transfer non-volatile RAM from
the source to the destination.  This is done by loading the whole
contents of nvram into a RAM MemoryRegion at VM startup, and storing it
at postload time.  The latter is done with this patch.

Paolo

Reply via email to