Skip to content

petri: Plumb EfiDiagnosticsLogLevel and add INFO level test#3481

Open
maheeraeron wants to merge 4 commits into
microsoft:mainfrom
maheeraeron:user/maheeraeron/efi-diagnostics-test
Open

petri: Plumb EfiDiagnosticsLogLevel and add INFO level test#3481
maheeraeron wants to merge 4 commits into
microsoft:mainfrom
maheeraeron:user/maheeraeron/efi-diagnostics-test

Conversation

@maheeraeron
Copy link
Copy Markdown
Contributor

Small PR to plumb the EfiDiagnosticsLogLevel configuration to Petri, then add a test that searches for a specific INFO level log

Copilot AI review requested due to automatic review settings May 13, 2026 22:16
@maheeraeron maheeraeron requested a review from a team as a code owner May 13, 2026 22:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Petri-level configuration for EFI diagnostics verbosity and uses it in a new VMM test that verifies an INFO-level UEFI diagnostics message is observable through OpenHCL kmsg.

Changes:

  • Adds EfiDiagnosticsLogLevel to Petri UEFI configuration and a builder setter.
  • Maps the Petri log-level enum into OpenVMM and GED configuration paths.
  • Adds a multiarch test that enables INFO diagnostics and searches kmsg for a known INFO message.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
petri/src/vm/mod.rs Adds the public Petri UEFI diagnostics log-level API and config field.
petri/src/vm/openvmm/construct.rs Plumbs the new Petri setting into OpenVMM and OpenHCL GED config construction.
vmm_tests/vmm_tests/tests/tests/multiarch.rs Adds an OpenVMM/OpenHCL UEFI test for INFO-level EFI diagnostics output.

Comment thread petri/src/vm/mod.rs
Copy link
Copy Markdown
Member

@chris-oo chris-oo left a comment

Choose a reason for hiding this comment

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

LGTM but question around testing on hyper-v

Comment thread petri/src/vm/mod.rs
Copy link
Copy Markdown
Contributor

@jennagoddard jennagoddard left a comment

Choose a reason for hiding this comment

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

:shipit:

Copilot AI review requested due to automatic review settings May 16, 2026 03:00
@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Comment thread petri/src/vm/hyperv/mod.rs Outdated
@github-actions
Copy link
Copy Markdown

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.

4 participants