aboutsummaryrefslogtreecommitdiff
path: root/migration/channel.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-06-20 12:02:05 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2022-06-23 10:18:13 +0100
commit77ef2dc1c8c6a482fd06fdf3b59d0647f0850e3e (patch)
treed2080d38851cdaebb0b2c6f1c3dd08e9b0c7dff5 /migration/channel.c
parent02bdbe172da51ae2189d8c6035c3aeb3788b553f (diff)
downloadqemu-77ef2dc1c8c6a482fd06fdf3b59d0647f0850e3e.zip
qemu-77ef2dc1c8c6a482fd06fdf3b59d0647f0850e3e.tar.gz
qemu-77ef2dc1c8c6a482fd06fdf3b59d0647f0850e3e.tar.bz2
migration: remove the QEMUFileOps abstraction
Now that all QEMUFile callbacks are removed, the entire concept can be deleted. 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/channel.c')
-rw-r--r--migration/channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/channel.c b/migration/channel.c
index a162d00..90087d8 100644
--- a/migration/channel.c
+++ b/migration/channel.c
@@ -14,7 +14,7 @@
#include "channel.h"
#include "tls.h"
#include "migration.h"
-#include "qemu-file-channel.h"
+#include "qemu-file.h"
#include "trace.h"
#include "qapi/error.h"
#include "io/channel-tls.h"
@@ -85,7 +85,7 @@ void migration_channel_connect(MigrationState *s,
return;
}
} else {
- QEMUFile *f = qemu_fopen_channel_output(ioc);
+ QEMUFile *f = qemu_file_new_output(ioc);
migration_ioc_register_yank(ioc);