Skip to content

Comments

virt_mshv_vtl: Report all crash_ctl bits as supported (#2822)#2824

Open
smalis-msft wants to merge 1 commit intomicrosoft:release/1.7.2511from
smalis-msft:back-crash-msr-more
Open

virt_mshv_vtl: Report all crash_ctl bits as supported (#2822)#2824
smalis-msft wants to merge 1 commit intomicrosoft:release/1.7.2511from
smalis-msft:back-crash-msr-more

Conversation

@smalis-msft
Copy link
Contributor

This allows guests to report more information to us during a crash. We don't have to do anything based on the values of these bits, we were already logging them, they were just always 0.

Clean cherry-pick

This allows guests to report more information to us during a crash. We
don't have to do anything based on the values of these bits, we were
already logging them, they were just always 0.
@smalis-msft smalis-msft requested a review from a team as a code owner February 23, 2026 16:22
Copilot AI review requested due to automatic review settings February 23, 2026 16:22
@github-actions github-actions bot added the release_1.7.2511 Targets the release/1.7.2511 branch. label Feb 23, 2026
Copy link
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 enables OpenHCL to advertise support for additional crash control bits when guests read the HV_X64_MSR_GUEST_CRASH_CTL MSR. This allows guests to provide more diagnostic information during crash reporting without requiring OpenHCL to take any additional action. The change is straightforward and low-risk - it simply advertises more capabilities to the guest that OpenHCL was already logging.

Changes:

  • Updated the comment for clarity to specify "previously written value" instead of "current value"
  • Added with_no_crash_dump(true) to advertise support for the no_crash_dump bit
  • Added with_pre_os_id(0b111) to advertise support for all pre_os_id values (0-7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_1.7.2511 Targets the release/1.7.2511 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant