]> git.proxmox.com Git - qemu.git/commit
rdma: introduce qemu_update_position()
authorMichael R. Hines <mrhines@us.ibm.com>
Wed, 26 Jun 2013 01:35:28 +0000 (21:35 -0400)
committerJuan Quintela <quintela@redhat.com>
Thu, 27 Jun 2013 00:38:35 +0000 (02:38 +0200)
commit2b0ce0797d6bfb13ebefe010da86abced0b7a9b3
treef98468e6dc3457bc43c451b6ce4fc5cabce3c96c
parentf4abc9d621823b14a6cd508c66c1ecb21f96349e
rdma: introduce qemu_update_position()

RDMA writes happen asynchronously, and thus the performance accounting
also needs to be able to occur asynchronously. This allows anybody
to call into savevm.c to update both f->pos as well as into arch_init.c
to update the acct_info structure with up-to-date values when
the RDMA transfer actually completes.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Tested-by: Chegu Vinod <chegu_vinod@hp.com>
Tested-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
arch_init.c
include/migration/migration.h
include/migration/qemu-file.h
savevm.c