Skip to content

cvm: Log vp index on memory failures#3425

Merged
smalis-msft merged 2 commits intomicrosoft:mainfrom
smalis-msft:cvm_logging
May 6, 2026
Merged

cvm: Log vp index on memory failures#3425
smalis-msft merged 2 commits intomicrosoft:mainfrom
smalis-msft:cvm_logging

Conversation

@smalis-msft
Copy link
Copy Markdown
Contributor

As discussed in teams, this may help with debugging

Copilot AI review requested due to automatic review settings May 5, 2026 22:34
@smalis-msft smalis-msft requested a review from a team as a code owner May 5, 2026 22:34
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 improves diagnosability of CVM memory-access failures by adding the current VP index as a structured field on the ratelimited warning emitted when the guest accesses an inaccessible GPA and a machine check (MC) is injected.

Changes:

  • Add vp = self.vp_index().index() to the guest accessed inaccessible gpa, injecting MC ratelimited warning log.

Comment thread openhcl/virt_mshv_vtl/src/processor/hardware_cvm/mod.rs
@smalis-msft smalis-msft merged commit 4385546 into microsoft:main May 6, 2026
61 checks passed
@smalis-msft smalis-msft deleted the cvm_logging branch May 6, 2026 21:57
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

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