Skip to content

1.8: soft_apic: Add some diagnostics (#4079) - #4126

Merged
Steven Malis (smalis-msft) merged 1 commit into
microsoft:release/1.8.2607from
smalis-msft:backport-1.8-pr4079
Aug 4, 2026
Merged

1.8: soft_apic: Add some diagnostics (#4079)#4126
Steven Malis (smalis-msft) merged 1 commit into
microsoft:release/1.8.2607from
smalis-msft:backport-1.8-pr4079

Conversation

@smalis-msft

Copy link
Copy Markdown
Contributor

Backport of #4079 to release/1.8.2607.

The cherry-pick of 322aed5 applied cleanly onto release/1.8.2607 with no conflicts and no manual edits.

Original PR: #4079


This backport PR was created by an AI agent (GitHub Copilot) on behalf of Steven Malis (@smalis-msft).

We've had a few test flakes of
openvmm_openhcl_uefi_x64_windows_datacenter_core_2022_x64_uefi_force_dma_bounce
recently. Copilot says these diagnostics are necessary to be able to
determine the root cause of the problem.

(cherry picked from commit 322aed5)
Copilot AI review requested due to automatic review settings July 31, 2026 17:18
@smalis-msft
Steven Malis (smalis-msft) requested a review from a team as a code owner July 31, 2026 17:18
@smalis-msft Steven Malis (smalis-msft) added the release_1.8.2607 Targets the release/1.8.2607 branch. label Jul 31, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This backport adds additional diagnostics for MSI/MSI-X delivery paths to help investigate intermittent test flakes by making dropped/latched interrupt state more observable.

Changes:

  • Emit a rate-limited warning when the software APIC receives an MSI for an unregistered interrupt index (instead of silently dropping it).
  • Improve MSI-X inspect output by showing MsiInterruptInner address/data in hex and exposing the delivery-state (msi) alongside the table entry state.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
vmm_core/virt/src/x86/apic_software_device.rs Logs a ratelimited warning when an MSI maps to no registered interrupt entry.
vm/devices/pci/pci_core/src/capabilities/msix.rs Enhances inspect diagnostics for MSI-X by hex-formatting address/data and including delivery state in inspection output.

@smalis-msft
Steven Malis (smalis-msft) enabled auto-merge (squash) July 31, 2026 17:20
@github-actions

Copy link
Copy Markdown

@smalis-msft
Steven Malis (smalis-msft) merged commit da21e50 into microsoft:release/1.8.2607 Aug 4, 2026
154 of 158 checks passed
@smalis-msft
Steven Malis (smalis-msft) deleted the backport-1.8-pr4079 branch August 4, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_1.8.2607 Targets the release/1.8.2607 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants