Skip to content

Conversation

@phip1611
Copy link
Member

@phip1611 phip1611 commented May 20, 2025

To migrate guests that use virtualisation themselves (host KVM performs nested virtualsation), we need to persist the state for live-migration and state save/resume.

This needs preliminary work in rustvmm/kvm-rs, which you can find here:

Testing

I had an intermdiate solution where I did my changes on an older version of kvm-ioctls (the one that Cloud Hypervisor refers to). There I verified that things work. Now, it will take a few steps to make everytihing compile, version bumps, ...

Steps to Undraft

When the guest itself uses VMX/SVM (x86 only), this change
ensures that the necessary nested state of KVM is migrated
as well.

Signed-off-by: Philipp Schuster <[email protected]>
On-behalf-of: SAP [email protected]
@likebreath
Copy link
Member

Draft PRs are meant to be temporary. The expectation is that they are either prepared for a formal review (undraft) or closed once they have served their purpose (such as gathering initial feedback).

@phip1611 Please open an issue to track the work and reopen a PR when it is ready. Thank you!

@likebreath likebreath closed this Aug 22, 2025
@phip1611 phip1611 deleted the vmx-nested branch August 22, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants