Bug 1736263 - Allow virtio-iommu migration
Summary: Allow virtio-iommu migration
Keywords:
Status: CLOSED DUPLICATE of bug 1477099
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: qemu-kvm
Version: 8.0
Hardware: aarch64
OS: Linux
medium
medium
Target Milestone: rc
: 8.4
Assignee: Eric Auger
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1727536 1802982 1885765
TreeView+ depends on / blocked
 
Reported: 2019-08-01 16:20 UTC by Eric Auger
Modified: 2020-11-12 07:42 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-12 07:42:32 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Auger 2019-08-01 16:20:53 UTC
At the moment the virtio-iommu is not migratable. Besides the virtio generic stuff, its state is composed of

- domains organized in a GTree (red black tree): each domain owns a list of end points using it and a gtree of iommu mappings.
- a gtree of endpoints and each enpoint owns a gtree of reserved regions. 

There is currently no VMSTATE_* object that allows migrating Gtree elements.

The closest thing seems to be VMSTATE_QTAILQ_V that allows to migrate a QTAILQ.

Comment 1 Eric Auger 2019-10-03 15:49:40 UTC
"[PATCH v2] migration: Support gtree migration" was sent to the ML.
This is a pre-requisite for virtio-iommu migration as this latter has many gtrees

Comment 2 Ademar Reis 2020-02-05 23:01:52 UTC
QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. Thanks

Comment 3 Eric Auger 2020-02-28 09:38:16 UTC
The code has landed upstream (will be in qemu 5.0) . Migration was tested on ARM.

Comment 4 Eric Auger 2020-06-03 07:54:51 UTC
Until non DT support is not supported we can claim the feature is available (despite the code is upstream). So let's move this to 8.4

Comment 6 Eric Auger 2020-11-12 07:42:32 UTC
Code is upstream and we now just wait for the ACPI VIOT integration. Let's close the BZ as a dup of the main virtio-iommu BZ.

*** This bug has been marked as a duplicate of bug 1477099 ***


Note You need to log in before you can comment on or make changes to this bug.