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

update(bao_recipes): include support to build the hypervisor with different config files #6

Merged
merged 22 commits into from
Feb 26, 2024

Conversation

Diogo21Costa
Copy link
Member

PR Description

This PR decouples the hypervisor Nix build from the bao-demos repository, enabling the use of various configuration files.

Additionally, if only the path to the configs directory is specified, the configuration corresponding to the platform targeted by the test will be used.

Attached to this PR description are 3 files for testing the changes:

  1. default.nix: Demonstrates how to test all the changes.
  2. qemu_aarch64_virt.c: A configuration file mimicking a default config for the single_baremetal build with four CPUs.
  3. my_config.c: Tests the feature of using different configs. This file is identical to the previous one but assigns only one CPU.

Please provide your feedback on these changes.

miguelafsilva5
miguelafsilva5 previously approved these changes Feb 23, 2024
@miguelafsilva5 miguelafsilva5 self-assigned this Feb 26, 2024
@miguelafsilva5 miguelafsilva5 merged commit c877cb7 into main Feb 26, 2024
2 checks passed
@miguelafsilva5 miguelafsilva5 deleted the update/bao-recipes branch February 26, 2024 10:34
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