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

vmspawn: check firmware target architecture #32224

Merged

Conversation

sam-leonard-ct
Copy link
Contributor

Fixes issue #32026 by only finding firmwares which explicitly support the native architecture.

@github-actions github-actions bot added vmspawn please-review PR is ready for (re-)review by a maintainer labels Apr 11, 2024
@poettering poettering added good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed and removed please-review PR is ready for (re-)review by a maintainer labels Apr 11, 2024
@bluca
Copy link
Member

bluca commented Apr 11, 2024

Shouldn't this look for the image's architecture rather than the native one?

@sam-leonard-ct
Copy link
Contributor Author

Shouldn't this look for the image's architecture rather than the native one?

Currently vmspawn does not support images which aren't the native architecture.

src/vmspawn/vmspawn-util.c Outdated Show resolved Hide resolved
src/vmspawn/vmspawn-util.c Outdated Show resolved Hide resolved
@YHNdnzj YHNdnzj added good-to-merge/with-minor-suggestions and removed good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed labels Apr 11, 2024
@sam-leonard-ct sam-leonard-ct force-pushed the vmspawn/better_firmware_selection branch from 8f44c9c to 995b104 Compare April 11, 2024 13:00
@YHNdnzj YHNdnzj added good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed and removed good-to-merge/with-minor-suggestions labels Apr 11, 2024
src/vmspawn/vmspawn-util.c Outdated Show resolved Hide resolved
src/vmspawn/vmspawn-util.c Outdated Show resolved Hide resolved
src/vmspawn/vmspawn-util.c Outdated Show resolved Hide resolved
src/vmspawn/vmspawn-util.c Outdated Show resolved Hide resolved
@yuwata yuwata added good-to-merge/with-minor-suggestions and removed good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed labels Apr 11, 2024
Fixes issue systemd#32026 by only finding firmwares which explicitly support
the native architecture.
@yuwata yuwata merged commit af49ea3 into systemd:main Apr 12, 2024
43 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

systemd-vmspawn: Undesired firmware selected
5 participants