OSDN Git Service

rdma: new QEMUFileOps hooks
authorMichael R. Hines <mrhines@us.ibm.com>
Wed, 26 Jun 2013 01:35:35 +0000 (21:35 -0400)
committerJuan Quintela <quintela@redhat.com>
Thu, 27 Jun 2013 00:38:36 +0000 (02:38 +0200)
commit43487c678d6e4e7182bfa70d2bc75422578782aa
tree3472507c7cfacdd6c61a3b0725b28a474993d97e
parentbd2fa51fcdba3408f308df1b08fae04053ecdee5
rdma: new QEMUFileOps hooks

These are the prototypes and implementation of new hooks that
RDMA takes advantage of to perform dynamic page registration.

An optional hook is also introduced for a custom function
to be able to override the default save_page function.

Also included are the prototypes and accessor methods used by
arch_init.c which invoke funtions inside savevm.c to call out
to the hooks that may or may not have been overridden
inside of QEMUFileOps.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Chegu Vinod <chegu_vinod@hp.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>
include/migration/migration.h
include/migration/qemu-file.h
savevm.c