Skip to content

Adds support for Azure Linux 3 #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

Merged
merged 8 commits into from
Jan 29, 2025

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.

Fixes #167

@simongdavies simongdavies added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. 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
Copy link
Contributor

@ludfjig ludfjig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@syntactically
Copy link
Contributor

Nit: s/memoy/memory/ for the commit message of bbd7ba3

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
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 <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies merged commit 6b8de9c into hyperlight-dev:main Jan 29, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test Hyperlight on AzureLinux 3
4 participants