diff options
| author | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | 2025-03-04 23:03:51 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-03-06 06:47:34 +0100 |
| commit | ff2fd1f7e23f528f03f41b5475afb173718fea07 (patch) | |
| tree | 8628393d1350f52a50c12b0b96162fa6068b68f6 /hw/vfio/migration-multifd.h | |
| parent | 2efa35d34edfeca0d151de8283e52006e2c6cbd4 (diff) | |
| download | focaccia-qemu-ff2fd1f7e23f528f03f41b5475afb173718fea07.tar.gz focaccia-qemu-ff2fd1f7e23f528f03f41b5475afb173718fea07.zip | |
vfio/migration: Multifd setup/cleanup functions and associated VFIOMultifd
Add multifd setup/cleanup functions and an associated VFIOMultifd data structure that will contain most of the receive-side data together with its init/cleanup methods. Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/c0520523053b1087787152ddf2163257d3030be0.1741124640.git.maciej.szmigiero@oracle.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/migration-multifd.h')
| -rw-r--r-- | hw/vfio/migration-multifd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/vfio/migration-multifd.h b/hw/vfio/migration-multifd.h index 1b60d5f67a..2a7a76164f 100644 --- a/hw/vfio/migration-multifd.h +++ b/hw/vfio/migration-multifd.h @@ -14,6 +14,10 @@ #include "hw/vfio/vfio-common.h" +bool vfio_multifd_setup(VFIODevice *vbasedev, bool alloc_multifd, Error **errp); +void vfio_multifd_cleanup(VFIODevice *vbasedev); + bool vfio_multifd_transfer_supported(void); +bool vfio_multifd_transfer_enabled(VFIODevice *vbasedev); #endif |