aboutsummaryrefslogtreecommitdiff
path: root/migration/qemu-file.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-06-20 12:02:03 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2022-06-23 10:18:13 +0100
commitec2135eec80dc0bd4089d8af2db28c386fadc558 (patch)
treee43bfb1fb524c216a2d7ed49d76074a9291eee41 /migration/qemu-file.h
parentf759d7050bd0ec34f45bc0d91800625a6938e203 (diff)
downloadqemu-ec2135eec80dc0bd4089d8af2db28c386fadc558.zip
qemu-ec2135eec80dc0bd4089d8af2db28c386fadc558.tar.gz
qemu-ec2135eec80dc0bd4089d8af2db28c386fadc558.tar.bz2
migration: remove the QEMUFileOps 'writev_buffer' callback
This directly implements the writev_buffer 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.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/migration/qemu-file.h b/migration/qemu-file.h
index f7ed568..de3f066 100644
--- a/migration/qemu-file.h
+++ b/migration/qemu-file.h
@@ -30,14 +30,6 @@
#include "io/channel.h"
/*
- * This function writes an iovec to file. The handler must write all
- * of the data or return a negative errno value.
- */
-typedef ssize_t (QEMUFileWritevBufferFunc)(void *opaque, struct iovec *iov,
- int iovcnt, int64_t pos,
- Error **errp);
-
-/*
* This function provides hooks around different
* stages of RAM migration.
* 'data' is call specific data associated with the 'flags' value
@@ -69,7 +61,6 @@ typedef size_t (QEMURamSaveFunc)(QEMUFile *f,
typedef QEMUFile *(QEMURetPathFunc)(void *opaque);
typedef struct QEMUFileOps {
- QEMUFileWritevBufferFunc *writev_buffer;
QEMURetPathFunc *get_return_path;
} QEMUFileOps;