[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] pflash (UEFI varstore) migration shortcut f
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] pflash (UEFI varstore) migration shortcut for libvirt |
Date: |
Fri, 19 Sep 2014 10:13:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
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