]> git.proxmox.com Git - mirror_qemu.git/commit - migration/rdma.c
Rework ram block hash
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 11 Jun 2015 17:17:25 +0000 (18:17 +0100)
committerJuan Quintela <quintela@redhat.com>
Tue, 7 Jul 2015 12:54:49 +0000 (14:54 +0200)
commit760ff4bebc86d08b252809e0da7261c986d022ff
treeae8a8ee9f27c19e6105498c65dbb39c8f58b8f56
parent03fcab38617ac9bcd6ed28cb1b6a0ecd8fb3bc82
Rework ram block hash

RDMA uses a hash from block offset->RAM Block; this isn't needed
on the destination, and it becomes harder to maintain after the next
patch in the series that sorts the block list.

Split the hash so that it's only generated on the source.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/rdma.c