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

vm-runner: arm support #1119

Open
wants to merge 5 commits into
base: misha/builder-arm-support
Choose a base branch
from

Conversation

mikhail-sakhnov
Copy link
Contributor

Modify qemu arguments to run VM on arm machine

@mikhail-sakhnov mikhail-sakhnov changed the title Misha/runner arm support vm-runner: arm support Oct 21, 2024
Copy link

github-actions bot commented Oct 21, 2024

No changes to the coverage.

HTML Report

Click to open

Copy link
Member

@sharnoff sharnoff 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, AFAICT

neonvm-runner/cmd/main.go Outdated Show resolved Hide resolved
}
}

func getMachineType(architecture string) string {
Copy link
Member

Choose a reason for hiding this comment

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

It'd be good to have a comment explaining the situation here -- why these particular machine types?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

tbh there are no particular reason. for q35 it is probably historical reason and virt is the most generic arm platform which we use in runners already.

Copy link
Member

Choose a reason for hiding this comment

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

perhaps @cicdteam can add some context on why q35?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I just saw this discussion.

In the x86_64 architecture, QEMU has two groups of emulated machines - pc-q35 and pc-i440fx (yes, there are a couple of others, like microvm or none, but this is not our case). The q35 series is more recent, so it was chosen. In fact, there are no other options for x86_64.

FYI: -machine q35 is alias of -machine pc-q35-9.0 (in QEMU v9.0.1),by other words - most recent hardware.

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.

4 participants