-
Notifications
You must be signed in to change notification settings - Fork 21
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
base: misha/builder-arm-support
Are you sure you want to change the base?
vm-runner: arm support #1119
Conversation
No changes to the coverage.
HTML Report |
e5a9046
to
111e19c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, AFAICT
} | ||
} | ||
|
||
func getMachineType(architecture string) string { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
111e19c
to
853186d
Compare
ecc2853
to
8a7a20c
Compare
ed64800
to
629281d
Compare
8a7a20c
to
3d7f393
Compare
Signed-off-by: Misha Sakhnov <[email protected]>
3d7f393
to
59ccc89
Compare
629281d
to
6fb99e4
Compare
Signed-off-by: Mikhail Sakhnov <[email protected]>
Modify qemu arguments to run VM on arm machine