Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions vmm_tests/vmm_tests/tests/tests/multiarch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,26 @@ async fn vmbus_relay<T: PetriVmmBackend>(config: PetriVmBuilder<T>) -> anyhow::R
Ok(())
}

// Test AP startup on a TDX CVM with a NUMA topology such that
// APIC_ID != VCPU Index
#[vmm_test_no_agent(
hyperv_openhcl_uefi_x64[tdx](vhd(windows_datacenter_core_2025_x64)),
)]
#[cfg_attr(not(windows), expect(dead_code))]
async fn mailbox_tdx<T: PetriVmmBackend>(config: PetriVmBuilder<T>) -> anyhow::Result<()> {
let mut vm = config
.with_processor_topology(ProcessorTopology {
vp_count: 10,
vps_per_socket: Some(4),
..Default::default()
})
.run_without_agent()
.await?;
vm.send_enlightened_shutdown(ShutdownKind::Shutdown).await?;
vm.wait_for_clean_teardown().await?;
Ok(())
}

/// Openhcl boot test with MNF enabled in vmbus relay.
///
/// TODO: Remove the no_agent version below once agents are supported in CVMs.
Expand Down
Loading