migration: split migration hooks out of QEMUFileOps
commit0436e09f9654dfa6f7439531bf443b1f78870ed6
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 27 Apr 2016 10:04:55 +0000 (27 11:04 +0100)
committerAmit Shah <amit.shah@redhat.com>
Thu, 26 May 2016 06:01:16 +0000 (26 11:31 +0530)
treeb17129a565c93377b71d71fc3e3221e0b26e8a4a
parentbaf51e7739a4d176284d2e38e1755afeafcd2ee0
migration: split migration hooks out of QEMUFileOps

The QEMUFileOps struct contains the I/O subsystem callbacks
and the migration stage hooks. Split the hooks out into a
separate QEMUFileHooks struct to make it easier to refactor
the I/O side of QEMUFile without affecting the hooks.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <1461751518-12128-6-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
include/migration/qemu-file.h
migration/qemu-file-internal.h
migration/qemu-file.c
migration/rdma.c