mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
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>
This commit is contained in:
parent
02bdbe172d
commit
77ef2dc1c8
12 changed files with 27 additions and 128 deletions
|
|
@ -55,9 +55,6 @@ typedef size_t (QEMURamSaveFunc)(QEMUFile *f,
|
|||
size_t size,
|
||||
uint64_t *bytes_sent);
|
||||
|
||||
typedef struct QEMUFileOps {
|
||||
} QEMUFileOps;
|
||||
|
||||
typedef struct QEMUFileHooks {
|
||||
QEMURamHookFunc *before_ram_iterate;
|
||||
QEMURamHookFunc *after_ram_iterate;
|
||||
|
|
@ -65,8 +62,8 @@ typedef struct QEMUFileHooks {
|
|||
QEMURamSaveFunc *save_page;
|
||||
} QEMUFileHooks;
|
||||
|
||||
QEMUFile *qemu_file_new_input(QIOChannel *ioc, const QEMUFileOps *ops);
|
||||
QEMUFile *qemu_file_new_output(QIOChannel *ioc, const QEMUFileOps *ops);
|
||||
QEMUFile *qemu_file_new_input(QIOChannel *ioc);
|
||||
QEMUFile *qemu_file_new_output(QIOChannel *ioc);
|
||||
void qemu_file_set_hooks(QEMUFile *f, const QEMUFileHooks *hooks);
|
||||
int qemu_fclose(QEMUFile *f);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue