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 25 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.

We need to add some runners for Az Linux 3 to our CI, and then enable the feature flag when we run on those but that will be done in a separate PR

@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
@simongdavies simongdavies disabled auto-merge January 13, 2025 10:28
Simon Davies and others added 8 commits January 13, 2025 13:39
Signed-off-by: Simon Davies <[email protected]>
Since clippy runs with --all-features and the mshv2 and mshv3 features are mutually exclusive these changes ensure that clippy is able to run and we can still enforce mutually exclusivity

Signed-off-by: Simon Davies <[email protected]>
Signed-off-by: Simon Davies <[email protected]>
Signed-off-by: Simon Davies <[email protected]>
Signed-off-by: Simon Davies <[email protected]>
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