mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: add CVM test for counters
Add a CVM integration test for counters that validates the same functionality using a confidential guest with the basic_cvm_guest macro. Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
9a88b9a42e
commit
81f26bd995
@@ -280,4 +280,10 @@ mod common_cvm {
|
||||
let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME);
|
||||
_test_net_hotplug(&guest, NUM_PCI_SEGMENTS, None);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_counters() {
|
||||
let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME);
|
||||
_test_counters(&guest);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user