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

Configure NVMe keep-alive ability from host #487

Merged
merged 4 commits into from
Jan 15, 2025

Conversation

yupavlen-ms
Copy link
Contributor

Inform OpenHCL that Host is compatible with NVMe keep-alive feature by adding a new device tree entry
/openhcl/vf-keepalive=nvme
where vf-keepalive is a list of strings which may be expanded in future to include other device types such as vf-keepalive=nvme,mana

During servicing operation the host must now explicitly indicate that NVMe data should be saved (if VM supports it), this change flips the definition of keepalive bit in capabilities_flags bitmask (it used to be an emergency shut-off, not it is an "allow" indication). This flipping resolves compatibility issues with older host OSes after Live Migration.

@yupavlen-ms yupavlen-ms requested a review from a team as a code owner December 16, 2024 17:14
@yupavlen-ms yupavlen-ms force-pushed the reenable_nvme_keepalive branch from d48324b to 22f28de Compare January 14, 2025 20:52
@yupavlen-ms yupavlen-ms merged commit 66f6c5e into microsoft:main Jan 15, 2025
25 checks passed
@yupavlen yupavlen deleted the reenable_nvme_keepalive branch January 16, 2025 02:00
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