]> git.proxmox.com Git - mirror_qemu.git/commit
migration: stop passing 'opaque' parameter to QEMUFile hooks
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 20 Jun 2022 11:01:55 +0000 (12:01 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 22 Jun 2022 18:33:43 +0000 (19:33 +0100)
commit365c0463db9382130c7201c5c91021fe84bf5f77
tree19f139dfd35fe0d07352eb7913ae6b8af1a7ae5c
parent67bdabe2af52cf5bb9420f57e0f67c9b571e1e5d
migration: stop passing 'opaque' parameter to QEMUFile hooks

The only user of the hooks is RDMA which provides a QIOChannel backed
impl of QEMUFile. It can thus use the qemu_file_get_ioc() 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>
migration/qemu-file.c
migration/qemu-file.h
migration/rdma.c