Re: [Qemu-devel] [PATCH 2/2] spapr_nvram: Enable migration

2014-10-02 Thread David Gibson
On Thu, Oct 02, 2014 at 07:56:03PM +1000, Alexey Kardashevskiy wrote: > 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

[Qemu-devel] [PATCH 2/2] spapr_nvram: Enable migration

2014-10-02 Thread Alexey Kardashevskiy
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. Wr

Re: [Qemu-devel] [PATCH 2/2] spapr_nvram: Enable migration

2014-09-29 Thread Alexander Graf
On 26.09.14 04:53, Alexey Kardashevskiy wrote: > On 09/26/2014 12:31 PM, David Gibson wrote: >> On Thu, Sep 25, 2014 at 08:06:40PM +1000, Alexey Kardashevskiy wrote: >>> On 09/25/2014 07:43 PM, Alexander Graf wrote: On 25.09.14 09:02, Alexey Kardashevskiy wrote: > The only case

Re: [Qemu-devel] [PATCH 2/2] spapr_nvram: Enable migration

2014-09-25 Thread Alexey Kardashevskiy
On 09/26/2014 12:31 PM, David Gibson wrote: > On Thu, Sep 25, 2014 at 08:06:40PM +1000, Alexey Kardashevskiy wrote: >> On 09/25/2014 07:43 PM, Alexander Graf wrote: >>> >>> >>> On 25.09.14 09:02, Alexey Kardashevskiy wrote: The only case when sPAPR NVRAM migrates now is if is backed by a file

Re: [Qemu-devel] [PATCH 2/2] spapr_nvram: Enable migration

2014-09-25 Thread David Gibson
On Thu, Sep 25, 2014 at 08:06:40PM +1000, Alexey Kardashevskiy wrote: > On 09/25/2014 07:43 PM, Alexander Graf wrote: > > > > > > On 25.09.14 09:02, Alexey Kardashevskiy wrote: > >> The only case when sPAPR NVRAM migrates now is if is backed by a file and > >> copy-storage migration is performed.

Re: [Qemu-devel] [PATCH 2/2] spapr_nvram: Enable migration

2014-09-25 Thread Alexey Kardashevskiy
On 09/25/2014 07:43 PM, Alexander Graf wrote: > > > On 25.09.14 09:02, Alexey Kardashevskiy wrote: >> The only case when sPAPR NVRAM migrates now is if is backed by a file and >> copy-storage migration is performed. >> >> This enables RAM copy of NVRAM even if NVRAM is backed by a file. >> >> Thi

Re: [Qemu-devel] [PATCH 2/2] spapr_nvram: Enable migration

2014-09-25 Thread Alexander Graf
On 25.09.14 09:02, Alexey Kardashevskiy wrote: > The only case when sPAPR NVRAM migrates now is if is backed by a file and > copy-storage migration is performed. > > This enables RAM copy of NVRAM even if NVRAM is backed by a file. > > This defines a VMSTATE descriptor for NVRAM device so the m

[Qemu-devel] [PATCH 2/2] spapr_nvram: Enable migration

2014-09-25 Thread Alexey Kardashevskiy
The only case when sPAPR NVRAM migrates now is if is backed by a file and copy-storage migration is performed. This enables RAM copy of NVRAM even if NVRAM is backed by a file. This defines a VMSTATE descriptor for NVRAM device so the memory copy of NVRAM can migrate and be written to a backing f