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

run_qemu.sh: delay get_ovmf_binaries() until actual use #95

Closed
wants to merge 2 commits into from

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Dec 20, 2024

This goes one step further than previous commit
8504b01 ("run_qemu.sh: move get_ovmf_binaries() later, to
start_qemu()")

Do not look for OVMF binaries when --legacy-bios.

This is not so much about --legacy-bios but rather to regroup all
OVMF-related stuff in a single place and makes it easier to temporarily
disable OVMF locally. For instance: when using --direct-kernel which is
the default. And yes: the image can boot with --direct-kernel and no
OVMF at all. Whether that's a good idea or not is a different question -
but it's sometimes useful as a local test hack.

@marc-hb marc-hb marked this pull request as ready for review December 20, 2024 22:55
@marc-hb marc-hb marked this pull request as draft December 20, 2024 23:14
@marc-hb

This comment was marked as resolved.

This makes it easier to test pure build issues.

Signed-off-by: Marc Herbert <[email protected]>
This goes one step further than previous commit
8504b01 ("run_qemu.sh: move get_ovmf_binaries() later, to
start_qemu()")

Do not look for OVMF binaries when --legacy-bios.

This is not so much about --legacy-bios but rather to regroup all
OVMF-related stuff in a single place and makes it easier to temporarily
disable OVMF locally. For instance: when using --direct-kernel which is
the default. And yes: the image can boot with --direct-kernel and no
OVMF at all. Whether that's a good idea or not is a different question -
but it's sometimes useful as a local test hack.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Dec 21, 2024

Superseded by newer and cleaner #96

@marc-hb marc-hb closed this Dec 21, 2024
@marc-hb marc-hb deleted the earliest-ovmf branch December 21, 2024 22:30
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.

1 participant