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
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
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
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
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
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
> ++
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