diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-06-20 12:01:58 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-06-22 19:33:43 +0100 |
commit | 0f58c3fcc7e0e9eb9127d4a2019f4a31825d79e3 (patch) | |
tree | 3e3b53efb3ea725fcaabe128c3efddcfeabe776f /migration/qemu-file.h | |
parent | c0c6e1e2dd26ee3ee0218d64be6c532872935070 (diff) | |
download | qemu-0f58c3fcc7e0e9eb9127d4a2019f4a31825d79e3.zip qemu-0f58c3fcc7e0e9eb9127d4a2019f4a31825d79e3.tar.gz qemu-0f58c3fcc7e0e9eb9127d4a2019f4a31825d79e3.tar.bz2 |
migration: remove unused QEMUFileGetFD typedef / qemu_get_fd method
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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/migration/qemu-file.h b/migration/qemu-file.h index 3c93a27..fe1b2d1 100644 --- a/migration/qemu-file.h +++ b/migration/qemu-file.h @@ -46,10 +46,6 @@ typedef ssize_t (QEMUFileGetBufferFunc)(void *opaque, uint8_t *buf, */ typedef int (QEMUFileCloseFunc)(void *opaque, Error **errp); -/* Called to return the OS file descriptor associated to the QEMUFile. - */ -typedef int (QEMUFileGetFD)(void *opaque); - /* Called to change the blocking mode of the file */ typedef int (QEMUFileSetBlocking)(void *opaque, bool enabled, Error **errp); @@ -121,7 +117,6 @@ typedef struct QEMUFileHooks { QEMUFile *qemu_file_new_input(QIOChannel *ioc, const QEMUFileOps *ops); QEMUFile *qemu_file_new_output(QIOChannel *ioc, const QEMUFileOps *ops); void qemu_file_set_hooks(QEMUFile *f, const QEMUFileHooks *hooks); -int qemu_get_fd(QEMUFile *f); int qemu_fclose(QEMUFile *f); /* |