Currently, amd-iommu device does not support migration. This series addresses an issue due hidden AMDVI-PCI device enumeration. Then introduces migratable VMStateDescription, which saves necessary parameters for the device.
Changes from v4: (https://lore.kernel.org/all/20250304141716.638880-1-suravee.suthikulpa...@amd.com/) * Patch 1: Fix commit message per Daniel and add review-by tag. Changes from v3: (https://lore.kernel.org/all/20250212054450.578449-1-suravee.suthikulpa...@amd.com) * Patch 1: Fix build error * Patch 2: Fix 32-bit build issue. Changes from v2: (https://lore.kernel.org/all/20250206051856.323651-1-suravee.suthikulpa...@amd.com) * Add patch 1/2 Suravee Suthikulpanit (2): hw/i386/amd_iommu: Isolate AMDVI-PCI from amd-iommu device to allow full control over the PCI device creation hw/i386/amd_iommu: Allow migration when explicitly create the AMDVI-PCI device hw/i386/acpi-build.c | 8 ++-- hw/i386/amd_iommu.c | 101 ++++++++++++++++++++++++++++++++++--------- hw/i386/amd_iommu.h | 5 ++- 3 files changed, 87 insertions(+), 27 deletions(-) -- 2.34.1