mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: add CVM test for virtio_block_dynamic_vhdx_expand
Add a CVM variant of the virtio block dynamic VHDX expand test in integration_cvm.rs. This test creates a confidential guest and invokes the shared _test_virtio_block_dynamic_vhdx_expand() wrapper to validate VHDX expansion under CVM. Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
ac8d4c2953
commit
2929cc9d16
@@ -194,4 +194,10 @@ mod common_cvm {
|
||||
);
|
||||
_test_virtio_block(&guest, false, false, true, true, ImageType::Qcow2);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_virtio_block_dynamic_vhdx_expand() {
|
||||
let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME);
|
||||
_test_virtio_block_dynamic_vhdx_expand(&guest);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user