mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: add CVM test for dmi_uuid
Add a CVM variant of the DMI UUID test in integration_cvm.rs. This test creates a confidential guest using the basic_cvm_guest! macro and invokes the shared _test_dmi_uuid() wrapper to validate DMI UUID behavior under CVM. Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
dcb4d99a50
commit
43641cf714
@@ -2238,4 +2238,4 @@ pub(crate) fn _test_dmi_uuid(guest: &Guest) {
|
||||
let output = child.wait_with_output().unwrap();
|
||||
|
||||
handle_child_output(r, &output);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -206,4 +206,10 @@ mod common_cvm {
|
||||
let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME);
|
||||
_test_split_irqchip(&guest);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dmi_uuid() {
|
||||
let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME);
|
||||
_test_dmi_uuid(&guest);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user