Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for migration v2 to the spec #745

Merged
merged 6 commits into from
Jul 26, 2023

Conversation

w-henderson
Copy link
Contributor

This adds the VFIO_USER_DEVICE_FEATURE, VFIO_USER_MIG_DATA_READ, and VFIO_USER_MIG_DATA_WRITE commands.

This pulls in the version of the spec that was submitted to qemu-devel:
https://lists.nongnu.org/archive/html/qemu-devel/2023-06/msg06567.html

This version of the spec removes live migration support as it will be
added later on following v2 of the VFIO migration protocol. However,
we will not remove the code for live migration v1 until we implement v2.

We do not implement all of the other new changes in this spec update but
are otherwise compatible.

Signed-off-by: William Henderson <william.henderson@nutanix.com>
This adds the VFIO_USER_DEVICE_FEATURE, VFIO_USER_MIG_DATA_READ,
and VFIO_USER_MIG_DATA_WRITE commands.

Signed-off-by: William Henderson <william.henderson@nutanix.com>
Copy link
Member

@tmakatos tmakatos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which kernel version is this based on?

Copy link
Member

@tmakatos tmakatos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't looked at the content yet, will do tomorrow.

docs/vfio-user.rst Outdated Show resolved Hide resolved
docs/vfio-user.rst Outdated Show resolved Hide resolved
Signed-off-by: William Henderson <william.henderson@nutanix.com>
Signed-off-by: William Henderson <william.henderson@nutanix.com>
docs/vfio-user.rst Outdated Show resolved Hide resolved
docs/vfio-user.rst Outdated Show resolved Hide resolved
docs/vfio-user.rst Outdated Show resolved Hide resolved
docs/vfio-user.rst Outdated Show resolved Hide resolved
docs/vfio-user.rst Show resolved Hide resolved
docs/vfio-user.rst Outdated Show resolved Hide resolved
Signed-off-by: William Henderson <william.henderson@nutanix.com>
Base automatically changed from w-henderson/update-spec to master-migv2 July 18, 2023 08:17
@tmakatos
Copy link
Member

@w-henderson I think this can now be merged into master-migv2?

@w-henderson
Copy link
Contributor Author

@tmakatos Yes, I think it's all good - go ahead!

@tmakatos
Copy link
Member

@w-henderson looks like there are conflicts?

@w-henderson w-henderson force-pushed the w-henderson/migration-v2-spec branch from 6d8f2f4 to d3727cc Compare July 25, 2023 14:28
@w-henderson
Copy link
Contributor Author

@tmakatos I have no idea what was going on with the conflicts - Git seemed to be finding conflicts between identical paragraphs of text and the above merge commit is literally an empty commit, but apparently that fixed the conflicts? Anyway it's good to merge now (I hope).

@tmakatos tmakatos self-requested a review July 26, 2023 08:33
@tmakatos tmakatos merged commit ceeb93f into master-migv2 Jul 26, 2023
5 checks passed
@tmakatos
Copy link
Member

Ugh, I botched the commit message. Anyway, let's fix it when merging to master.

@w-henderson w-henderson deleted the w-henderson/migration-v2-spec branch August 3, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants