mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: add CVM test for disk_hotplug
Add a CVM integration test for disk_hotplug 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
9564b4f278
commit
60abdf0ea1
@@ -268,4 +268,10 @@ mod common_cvm {
|
||||
let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME);
|
||||
_test_landlock(&guest);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_disk_hotplug() {
|
||||
let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME);
|
||||
_test_disk_hotplug(&guest, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user