From b7a7366ef90ac2b40f3dc425af8a5a838ced4cf4 Mon Sep 17 00:00:00 2001 From: Muminul Islam Date: Sat, 21 Mar 2026 17:56:38 -0700 Subject: [PATCH] tests: add CVM test for dmi_oem_strings Add a CVM variant of the DMI OEM strings test in integration_cvm.rs. This test creates a confidential guest using the basic_cvm_guest! macro and invokes the shared _test_dmi_oem_strings() wrapper to validate DMI OEM strings behavior under CVM. Signed-off-by: Muminul Islam --- cloud-hypervisor/tests/integration_cvm.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cloud-hypervisor/tests/integration_cvm.rs b/cloud-hypervisor/tests/integration_cvm.rs index e599541f6..fd47e21f0 100644 --- a/cloud-hypervisor/tests/integration_cvm.rs +++ b/cloud-hypervisor/tests/integration_cvm.rs @@ -212,4 +212,10 @@ mod common_cvm { let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME); _test_dmi_uuid(&guest); } + + #[test] + fn test_dmi_oem_strings() { + let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME); + _test_dmi_oem_strings(&guest); + } }