mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
2efa35d34e
commit
ff2fd1f7e2
3 changed files with 51 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue