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

Adds support for Azure Linux 3 #51

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

simongdavies
Copy link
Contributor

@simongdavies simongdavies commented Nov 11, 2024

This PR adds support for Azure Linux 3.

Because there are breaking changes between version 2 and verrion 3 of the mshv-bindings and mshv-ioctls and version 2 is required for Azure Linux version 2 and version 3 is required for Azure Linux version 3, this change also includes feature flags to allow the user to specify which version of mshv to target.

This defaults to mshv2 (Azure Linux 2), to target Azure Linux 3 enable the mshv3 feature, there is no need to disable the mshv2 feature in this case.

CI is also updated so tests, examples and benchmarks are all run on Azure Linux 3 runners with the mshv3 feature enabled.

@simongdavies simongdavies added the enhancement New feature or request label Nov 11, 2024
@simongdavies simongdavies changed the title Adds support for Azure 3 Adds support for Azure Linux 3 Nov 11, 2024
@simongdavies simongdavies enabled auto-merge (squash) November 13, 2024 19:54
Signed-off-by: Simon Davies <[email protected]>
Enable features to be passed when running rust all tests,examples and benchmarks so AZ Linux3 can enabled when any of these are run on an AZ Linux3 host

Signed-off-by: Simon Davies <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants