Merge "Amend the specification about the data in LiveMigrate object"

This commit is contained in:
Zuul
2025-03-05 13:42:32 +00:00
committed by Gerrit Code Review

View File

@@ -122,18 +122,15 @@ of live migratable devices by adding a new filter.
Since VIF field is not used in this context, we need to claim PCI devices and Since VIF field is not used in this context, we need to claim PCI devices and
retrieve the PCI addresses of the destination host. retrieve the PCI addresses of the destination host.
Update the ``LiveMigrateData`` object to include PCI device information (e.g., Update the ``LiveMigrateData`` object to include the PCI device mapping
addresses, live migratable, managed). For the destination host by between the source and destination device addresses. A new field,
introducing a new ``pci_devices`` field. ``pci_dev_map_src_dst``, defined as a ``DictOfStringsField`` will
be added to the ``LiveMigrateData`` object for this purpose.
.. note:: Update the _live_migration_operation() function, with a specific
The data structure required to store this information will be defined as focus on the get_updated_guest_xml() function, to map the source PCI
the implementation progresses. This specification will then be amended addresses to the destination addresses in the destination XML file
accordingly. using the data provided by the ``LiveMigrateData`` object.
Update the _live_migration_operation() function, with a specific focus
on the get_updated_guest_xml() function, to incorporate the PCI addresses
collected in the LiveMigrateData object into the destination XML file.
.. note:: .. note::
- If PCI in Placement is enabled then live migration will work as today - If PCI in Placement is enabled then live migration will work as today