aboutsummaryrefslogtreecommitdiff
path: root/migration/qemu-file.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-06-20 12:02:04 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2022-06-23 10:18:13 +0100
commit02bdbe172da51ae2189d8c6035c3aeb3788b553f (patch)
tree10f99fda555d9e8c2f084248c165a2003170ba81 /migration/qemu-file.h
parentec2135eec80dc0bd4089d8af2db28c386fadc558 (diff)
downloadqemu-02bdbe172da51ae2189d8c6035c3aeb3788b553f.zip
qemu-02bdbe172da51ae2189d8c6035c3aeb3788b553f.tar.gz
qemu-02bdbe172da51ae2189d8c6035c3aeb3788b553f.tar.bz2
migration: remove the QEMUFileOps 'get_return_path' callback
This directly implements the get_return_path logic using QIOChannel APIs. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/qemu-file.h')
-rw-r--r--migration/qemu-file.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/migration/qemu-file.h b/migration/qemu-file.h
index de3f066..fe8f976 100644
--- a/migration/qemu-file.h
+++ b/migration/qemu-file.h
@@ -55,13 +55,7 @@ typedef size_t (QEMURamSaveFunc)(QEMUFile *f,
size_t size,
uint64_t *bytes_sent);
-/*
- * Return a QEMUFile for comms in the opposite direction
- */
-typedef QEMUFile *(QEMURetPathFunc)(void *opaque);
-
typedef struct QEMUFileOps {
- QEMURetPathFunc *get_return_path;
} QEMUFileOps;
typedef struct QEMUFileHooks {