On 30/10/2024 15:36, Jason Gunthorpe wrote: > On Wed, Oct 30, 2024 at 11:15:02PM +0800, Zhangfei Gao wrote: >> hw/vfio/migration.c >> if (vfio_viommu_preset(vbasedev)) { >> error_setg(&err, "%s: Migration is currently not supported " >> "with vIOMMU enabled", vbasedev->name); >> goto add_blocker; >> } > > The viommu driver itself does not support live migration, it would > need to preserve all the guest configuration and bring it all back. It > doesn't know how to do that yet. It's more of vfio code, not quite related to actually hw vIOMMU. There's some vfio migration + vIOMMU support patches I have to follow up (v5) but unexpected set backs unrelated to work delay some of my plans for qemu 9.2. I expect to resume in few weeks. I can point you to a branch while I don't submit (provided soft-freeze is coming) Joao