Skip to content

openhcl_boot: add sidecar command line options #1339

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

Merged
merged 1 commit into from
May 12, 2025

Conversation

jstarks
Copy link
Member

@jstarks jstarks commented May 12, 2025

Add OPENHCL_SIDECAR boot loader command-line option for controlling whether sidecar gets enabled:

  • OPENHCL_SIDECAR=off: Disable sidecar support.
  • OPENHCL_SIDECAR=on: Enable sidecar support, if possible.
  • OPENHCL_SIDECAR=log: Enable sidecar logging.

This replaces the existing SIDECAR_LOGGING command line option.

Add `OPENHCL_SIDECAR` boot loader command-line option for controlling
whether sidecar gets enabled:

* `OPENHCL_SIDECAR=off`: Disable sidecar support.
* `OPENHCL_SIDECAR=on`: Enable sidecar support, if possible.
* `OPENHCL_SIDECAR=log`: Enable sidecar logging.

This replaces the existing `SIDECAR_LOGGING` command line option.
@jstarks jstarks requested a review from a team as a code owner May 12, 2025 18:11
/// Parse arguments from a command line.
pub fn parse(&mut self, cmdline: &str) {
for arg in cmdline.split_whitespace() {
if arg.starts_with(BOOT_LOG) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm this is kind of getting unwieldy - I wonder could we do anything better? can't think of anything offhand.

@jstarks jstarks enabled auto-merge (squash) May 12, 2025 18:48
@jstarks jstarks merged commit 4465f8b into microsoft:main May 12, 2025
28 checks passed
@jstarks jstarks deleted the no_sidecar branch May 12, 2025 18:50
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.

2 participants