diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-04-27 11:04:55 +0100 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2016-05-26 11:31:16 +0530 |
commit | 0436e09f9654dfa6f7439531bf443b1f78870ed6 (patch) | |
tree | b17129a565c93377b71d71fc3e3221e0b26e8a4a /migration/qemu-file-internal.h | |
parent | baf51e7739a4d176284d2e38e1755afeafcd2ee0 (diff) | |
download | qemu-0436e09f9654dfa6f7439531bf443b1f78870ed6.zip qemu-0436e09f9654dfa6f7439531bf443b1f78870ed6.tar.gz qemu-0436e09f9654dfa6f7439531bf443b1f78870ed6.tar.bz2 |
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>
Diffstat (limited to 'migration/qemu-file-internal.h')
-rw-r--r-- | migration/qemu-file-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/qemu-file-internal.h b/migration/qemu-file-internal.h index d95e853..8fdfa95 100644 --- a/migration/qemu-file-internal.h +++ b/migration/qemu-file-internal.h @@ -33,6 +33,7 @@ struct QEMUFile { const QEMUFileOps *ops; + const QEMUFileHooks *hooks; void *opaque; int64_t bytes_xfer; |