qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH RDMA support v1: 11/13] send pc.ram over RDM


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH RDMA support v1: 11/13] send pc.ram over RDMA
Date: Thu, 11 Apr 2013 08:26:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 11/04/2013 00:28, address@hidden ha scritto:
>  
> +#ifdef CONFIG_RDMA
> +int qemu_rdma_registration_start(QEMUFile *f, void *opaque, uint32_t flags)
> +{
> +    DPRINTF("start section: %d\n", flags);
> +    qemu_put_be64(f, RAM_SAVE_FLAG_HOOK);
> +    return 0;
> +}
> +#endif
>  

This must be in migration-rdma.c.  Move RAM_SAVE_FLAG_HOOK to
migration/migration.h with a comment like this:

/* Whenever this is found in the data stream, the flags
 * will be passed to ram_load_hook in the incoming-migration
 * side.  This lets before_ram_iterate/after_ram_iterate add
 * transport-specific sections to the RAM migration data.
 */

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]