vfio/migration: Add x-migration-multifd-transfer VFIO property
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>
Tue, 4 Mar 2025 22:03:58 +0000 (23:03 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 6 Mar 2025 05:47:34 +0000 (06:47 +0100)
commit623af41dd331d1a57a41bc3374e3d134adb33f4c
treee78c17d5700329f110f707a197a72dbcd78bba51
parent6d644baef20303fa4b2b342f556e26c2262b439f
vfio/migration: Add x-migration-multifd-transfer VFIO property

This property allows configuring whether to transfer the particular device
state via multifd channels when live migrating that device.

It defaults to AUTO, which means that VFIO device state transfer via
multifd channels is attempted in configurations that otherwise support it.

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/d6dbb326e3d53c7104d62c96c9e3dd64e1c7b940.1741124640.git.maciej.szmigiero@oracle.com
[ clg: Added documentation ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
docs/devel/migration/vfio.rst
hw/vfio/migration-multifd.c
hw/vfio/pci.c
include/hw/vfio/vfio-common.h