[Top][All Lists]

[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: Michael R. Hines
Subject: Re: [Qemu-devel] [RFC PATCH RDMA support v1: 11/13] send pc.ram over RDMA
Date: Thu, 11 Apr 2013 08:41:07 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2


On 04/11/2013 02:26 AM, Paolo Bonzini wrote:
Il 11/04/2013 00:28, address@hidden ha scritto:
+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;
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.


reply via email to

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