[Qemu-devel] [PATCH 12/17] migration-local: override hook_ram_load

2013-12-02 Thread Lei Li
Override hook_ram_load to receive the pipe file descriptor passed by source process and page address which will be extracted to vmsplice the page data from pipe. Signed-off-by: Lei Li --- migration-local.c | 59 + 1 files changed, 59 insertio

[Qemu-devel] [PATCH 12/17] migration-local: override hook_ram_load

2013-11-29 Thread Lei Li
Override hook_ram_load to receive the pipe file descriptor passed by source process and page address which will be extracted to vmsplice the page data from pipe. Signed-off-by: Lei Li --- migration-local.c | 59 + 1 files changed, 59 insertio

Re: [Qemu-devel] [PATCH 12/17] migration-local: override hook_ram_load

2013-11-26 Thread Lei Li
On 11/26/2013 07:25 PM, Paolo Bonzini wrote: Il 21/11/2013 10:11, Lei Li ha scritto: +static int qemu_local_ram_load(QEMUFile *f, void *opaque, + uint64_t flags) +{ +QEMUFileLocal *s = opaque; +ram_addr_t addr; +struct iovec iov; +ssize_t ret = -EINV

Re: [Qemu-devel] [PATCH 12/17] migration-local: override hook_ram_load

2013-11-26 Thread Paolo Bonzini
Il 21/11/2013 10:11, Lei Li ha scritto: > +static int qemu_local_ram_load(QEMUFile *f, void *opaque, > + uint64_t flags) > +{ > +QEMUFileLocal *s = opaque; > +ram_addr_t addr; > +struct iovec iov; > +ssize_t ret = -EINVAL; > + > +/* > + * PIPE f

[Qemu-devel] [PATCH 12/17] migration-local: override hook_ram_load

2013-11-21 Thread Lei Li
Override hook_ram_load to receive the pipe file descriptor passed by source process and page address which will be extracted to vmsplice the page data from pipe. Signed-off-by: Lei Li --- migration-local.c | 55 + 1 files changed, 55 insertio

Re: [Qemu-devel] [PATCH 12/17] migration-local: override hook_ram_load

2013-10-24 Thread Paolo Bonzini
Il 22/10/2013 04:25, Lei Li ha scritto: > Override hook_ram_load to receive the pipe file descriptor > passed by source process and page address which will be > extracted to vmsplice the page data from pipe. > > Signed-off-by: Lei Li > --- > migration-local.c | 85 > ++

[Qemu-devel] [PATCH 12/17] migration-local: override hook_ram_load

2013-10-21 Thread Lei Li
Override hook_ram_load to receive the pipe file descriptor passed by source process and page address which will be extracted to vmsplice the page data from pipe. Signed-off-by: Lei Li --- migration-local.c | 85 + 1 files changed, 85 insertio