vfio/migration: Multifd device state transfer support - config loading support
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>
Tue, 4 Mar 2025 22:03:56 +0000 (23:03 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 6 Mar 2025 05:47:34 +0000 (06:47 +0100)
commitb659c07c534490369ca0954f0116b05c4a063065
tree267f17e5b9baae283719ec4f8a2f01de5b83769f
parentfda70ed83d54abad6bf2d437a7c05204b0fad228
vfio/migration: Multifd device state transfer support - config loading support

Load device config received via multifd using the existing machinery
behind vfio_load_device_config_state().

Also, make sure to process the relevant main migration channel flags.

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/5dbd3f3703ec1097da2cf82a7262233452146fee.1741124640.git.maciej.szmigiero@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/migration-multifd.c
hw/vfio/migration.c
include/hw/vfio/vfio-common.h