Re: [Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-07-08 Thread Dr. David Alan Gilbert
* Sukrit Bhatnagar (skrtbht...@gmail.com) wrote: > On Fri, 28 Jun 2019 at 16:56, Dr. David Alan Gilbert > wrote: > > > > * Yuval Shaia (yuval.sh...@oracle.com) wrote: > > > On Fri, Jun 21, 2019 at 08:15:41PM +0530, Sukrit Bhatnagar wrote: > > > > Define and register SaveVMHandlers pvrdma_save and

Re: [Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-07-01 Thread Yuval Shaia
> > > > > > @Marcel, @Yuval: As David has suggested, what if we just read the dma > > > addresses in pvrdma_load(), and let the load_dsr() do the mapping? > > > In pvrdma_regs_write(), we can check if dev->dsr_info.dma is already set, > > > so > > > that its value is not overwritten. > > > > Have

Re: [Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-06-30 Thread Sukrit Bhatnagar
On Sun, 30 Jun 2019 at 13:43, Yuval Shaia wrote: > > On Sat, Jun 29, 2019 at 06:15:21PM +0530, Sukrit Bhatnagar wrote: > > On Fri, 28 Jun 2019 at 16:56, Dr. David Alan Gilbert > > wrote: > > > > > > * Yuval Shaia (yuval.sh...@oracle.com) wrote: > > > > On Fri, Jun 21, 2019 at 08:15:41PM +0530, Su

Re: [Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-06-30 Thread Yuval Shaia
On Sat, Jun 29, 2019 at 06:15:21PM +0530, Sukrit Bhatnagar wrote: > On Fri, 28 Jun 2019 at 16:56, Dr. David Alan Gilbert > wrote: > > > > * Yuval Shaia (yuval.sh...@oracle.com) wrote: > > > On Fri, Jun 21, 2019 at 08:15:41PM +0530, Sukrit Bhatnagar wrote: > > > > Define and register SaveVMHandlers

Re: [Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-06-29 Thread Sukrit Bhatnagar
On Fri, 28 Jun 2019 at 16:56, Dr. David Alan Gilbert wrote: > > * Yuval Shaia (yuval.sh...@oracle.com) wrote: > > On Fri, Jun 21, 2019 at 08:15:41PM +0530, Sukrit Bhatnagar wrote: > > > Define and register SaveVMHandlers pvrdma_save and > > > pvrdma_load for saving and loading the device state, >

Re: [Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-06-28 Thread Dr. David Alan Gilbert
* Yuval Shaia (yuval.sh...@oracle.com) wrote: > On Fri, Jun 21, 2019 at 08:15:41PM +0530, Sukrit Bhatnagar wrote: > > Define and register SaveVMHandlers pvrdma_save and > > pvrdma_load for saving and loading the device state, > > which currently includes only the dma, command slot > > and response

Re: [Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-06-25 Thread Yuval Shaia
On Fri, Jun 21, 2019 at 08:15:41PM +0530, Sukrit Bhatnagar wrote: > Define and register SaveVMHandlers pvrdma_save and > pvrdma_load for saving and loading the device state, > which currently includes only the dma, command slot > and response slot addresses. > > Remap the DSR, command slot and res

Re: [Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-06-25 Thread Yuval Shaia
On Fri, Jun 21, 2019 at 08:15:41PM +0530, Sukrit Bhatnagar wrote: > Define and register SaveVMHandlers pvrdma_save and > pvrdma_load for saving and loading the device state, > which currently includes only the dma, command slot > and response slot addresses. > > Remap the DSR, command slot and res

[Qemu-devel] [RFC 1/1] hw/pvrdma: Add live migration support

2019-06-21 Thread Sukrit Bhatnagar
Define and register SaveVMHandlers pvrdma_save and pvrdma_load for saving and loading the device state, which currently includes only the dma, command slot and response slot addresses. Remap the DSR, command slot and response slot upon loading the addresses in the pvrdma_load function. Cc: Marcel