]> Git Repo - qemu.git/commit
migration: new message MIG_RP_MSG_RECV_BITMAP
authorPeter Xu <[email protected]>
Wed, 2 May 2018 10:47:28 +0000 (18:47 +0800)
committerJuan Quintela <[email protected]>
Tue, 15 May 2018 18:56:51 +0000 (20:56 +0200)
commita335debb35bb30ade46e0e62c0b2fbb3882c8448
treefd354704a9547f76c0ae2ce78f2c966a7904b245
parentf25d42253ca137f79541f655dd915377ad596e28
migration: new message MIG_RP_MSG_RECV_BITMAP

Introducing new return path message MIG_RP_MSG_RECV_BITMAP to send
received bitmap of ramblock back to source.

This is the reply message of MIG_CMD_RECV_BITMAP, it contains not only
the header (including the ramblock name), and it was appended with the
whole ramblock received bitmap on the destination side.

When the source receives such a reply message (MIG_RP_MSG_RECV_BITMAP),
it parses it, convert it to the dirty bitmap by inverting the bits.

One thing to mention is that, when we send the recv bitmap, we are doing
these things in extra:

- converting the bitmap to little endian, to support when hosts are
  using different endianess on src/dst.

- do proper alignment for 8 bytes, to support when hosts are using
  different word size (32/64 bits) on src/dst.

Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Peter Xu <[email protected]>
Message-Id: <20180502104740[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
migration/migration.c
migration/migration.h
migration/ram.c
migration/ram.h
migration/savevm.c
migration/trace-events
This page took 0.027513 seconds and 4 git commands to generate.