vfio/migration: Multifd device state transfer support - basic types
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>
Tue, 4 Mar 2025 22:03:49 +0000 (23:03 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 6 Mar 2025 05:47:34 +0000 (06:47 +0100)
commit961165122bc8a4cf58eaaab75ff09ba8fc950a88
treef688c04cb491461425c4d978e26ae3bdd01c338a
parenteb6608619a16ab949f3cf1138638d17afa45fe4d
vfio/migration: Multifd device state transfer support - basic types

Add basic types and flags used by VFIO multifd device state transfer
support.

Since we'll be introducing a lot of multifd transfer specific code,
add a new file migration-multifd.c to home it, wired into main VFIO
migration code (migration.c) via migration-multifd.h header file.

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/4eedd529e6617f80f3d6a66d7268a0db2bc173fa.1741124640.git.maciej.szmigiero@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/meson.build
hw/vfio/migration-multifd.c [new file with mode: 0644]
hw/vfio/migration-multifd.h [new file with mode: 0644]
hw/vfio/migration.c