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

Improve lmc support for other arches #1108

Merged
merged 4 commits into from
May 30, 2023
Merged

Improve lmc support for other arches #1108

merged 4 commits into from
May 30, 2023

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Jan 20, 2021

No description provided.

@coveralls
Copy link

coveralls commented Jan 20, 2021

Pull Request Test Coverage Report for Build 5124346390

  • 1 of 32 (3.13%) changed or added relevant lines in 2 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.3%) to 47.495%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/pylorax/cmdline.py 0 1 0.0%
src/pylorax/installer.py 1 31 3.23%
Files with Coverage Reduction New Missed Lines %
src/pylorax/cmdline.py 1 0%
src/pylorax/installer.py 1 5.0%
Totals Coverage Status
Change from base Build 5124317271: -0.3%
Covered Lines: 1701
Relevant Lines: 3429

💛 - Coveralls

@hadess
Copy link
Contributor

hadess commented Jan 20, 2021

Looks good to me. I'll try to spend some time on this soon, see if I can bring it the last few steps.

@bcl
Copy link
Contributor Author

bcl commented Jan 20, 2021

Thanks, I'd like to get aarch64 working before I merge it. From looking at the Fedora aarch64 test docs it looks like it needs to use UEFI to boot at all, but without a graphics console I couldn't figure out what was going wrong. We may need to add or change some of the settings for it, if that's the case they should be put into the QEMU dict to make it easier.

@bcl
Copy link
Contributor Author

bcl commented Jan 22, 2021

hadess and others added 4 commits May 30, 2023 10:10
Require KVM acceleration to be disabled when, for example, building
ARM images on x86_64.
Until we figure out how to enable it on other arches (just on
aarch64 really).
When not using either KVM, or UEFI, make sure to still pass a decent
machine as a default to qemu.
This should make it easier to support running lmc --virt-uefi on other
arches.

This also renames places using 'ovmf' a more correct 'fw_path' variable
name.

ovmf is the name of the x86_64 firmware, but other architectures use
different names, so rename this to --firmware and 'fw_path', but leaving
--ovmf-path as an alias.
@bcl bcl merged commit 0a6d9ac into weldr:master May 30, 2023
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.

3 participants