mbox series

[v4,0/2] hw/i386/amd_iommu: Add migration support

Message ID 20250304141716.638880-1-suravee.suthikulpanit@amd.com (mailing list archive)
Headers show
Series hw/i386/amd_iommu: Add migration support | expand

Message

Suthikulpanit, Suravee March 4, 2025, 2:17 p.m. UTC
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 v2:
(https://lore.kernel.org/all/20250212054450.578449-1-suravee.suthikulpanit@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.suthikulpanit@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  | 111 +++++++++++++++++++++++++++++++++----------
 hw/i386/amd_iommu.h  |   5 +-
 3 files changed, 92 insertions(+), 32 deletions(-)

Comments

Suthikulpanit, Suravee March 25, 2025, 2:24 a.m. UTC | #1
Hi,

Any other concerns for this series?

Thanks
Suravee

On 3/4/2025 9:17 PM, Suravee Suthikulpanit wrote:
> 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 v2:
> (https://lore.kernel.org/all/20250212054450.578449-1-suravee.suthikulpanit@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.suthikulpanit@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  | 111 +++++++++++++++++++++++++++++++++----------
>   hw/i386/amd_iommu.h  |   5 +-
>   3 files changed, 92 insertions(+), 32 deletions(-)
>