migration: remove the QEMUFileOps 'get_buffer' callback
commitf759d7050bd0ec34f45bc0d91800625a6938e203
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 20 Jun 2022 11:02:02 +0000 (20 12:02 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jun 2022 09:17:58 +0000 (23 10:17 +0100)
tree17483eca47eb6f3f56a071604b1c615ea7b8cbf5
parent0ae1f7f055d757c01ce3144a7041fa9341a3715b
migration: remove the QEMUFileOps 'get_buffer' callback

This directly implements the get_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>
  dgilbert: Fixup len = *-*EIO as spotted by Peter Xu
migration/qemu-file-channel.c
migration/qemu-file.c
migration/qemu-file.h