Skip to content

Conversation

babayet2
Copy link
Contributor

@babayet2 babayet2 commented Sep 9, 2025

Regression test for #1818, written in a way that doesn't require a heavy TD

We create a numa topology s.t. the APIC ID != VCPU Index, this test will fail if there are bugs in the reset vector

@babayet2 babayet2 requested a review from a team as a code owner September 9, 2025 05:07
@benhillis benhillis requested a review from Copilot September 9, 2025 16:07
Copy link
Contributor

@Copilot 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 a regression test for TDX mailbox boot functionality to prevent future regressions of issue #1818. The test creates a specific NUMA topology where APIC ID doesn't match VCPU index to validate the reset vector handling in TDX environments.

  • Adds a new test function mailbox_tdx that configures a specific processor topology
  • Uses a lightweight approach that doesn't require a heavy TD (Trusted Domain)
  • Validates that TDX CVMs can successfully boot and shutdown with the problematic topology

Copy link

github-actions bot commented Sep 9, 2025

@chris-oo
Copy link
Member

Doesn't seem like this worked?

@babayet2
Copy link
Contributor Author

@chris-oo yep correct petri is failing, VMMS thinks a TD with this vnuma topology is not valid. right now this topology test only works when I manually configure the TD

when I get a moment I will see if I can get petri running against HyperV locally and then ping you on this PR, moving to draft for now

@babayet2 babayet2 marked this pull request as draft September 10, 2025 19:22
@chris-oo
Copy link
Member

It might be we need to update the host OS on these nodes. Let me know once you manage to get something working.

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