vfio/migration: Multifd device state transfer - add support checking function
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>
Tue, 4 Mar 2025 22:03:50 +0000 (23:03 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 6 Mar 2025 05:47:34 +0000 (06:47 +0100)
commit2efa35d34edfeca0d151de8283e52006e2c6cbd4
tree97effeabb72aa028151c5aa47a0ec3f04680da69
parent961165122bc8a4cf58eaaab75ff09ba8fc950a88
vfio/migration: Multifd device state transfer - add support checking function

Add vfio_multifd_transfer_supported() function that tells whether the
multifd device state transfer is supported.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Link: https://lore.kernel.org/qemu-devel/8ce50256f341b3d47342bb217cb5fbb2deb14639.1741124640.git.maciej.szmigiero@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/migration-multifd.c
hw/vfio/migration-multifd.h