-
Notifications
You must be signed in to change notification settings - Fork 51
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
Conversation
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>
There was a problem hiding this 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?
There was a problem hiding this 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.
Signed-off-by: William Henderson <william.henderson@nutanix.com>
Signed-off-by: William Henderson <william.henderson@nutanix.com>
Signed-off-by: William Henderson <william.henderson@nutanix.com>
@w-henderson I think this can now be merged into master-migv2? |
@tmakatos Yes, I think it's all good - go ahead! |
@w-henderson looks like there are conflicts? |
6d8f2f4
to
d3727cc
Compare
@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). |
Ugh, I botched the commit message. Anyway, let's fix it when merging to master. |
This adds the VFIO_USER_DEVICE_FEATURE, VFIO_USER_MIG_DATA_READ, and VFIO_USER_MIG_DATA_WRITE commands.