From 2929cc9d1615d4bd354b9519bb90f1c213ffe751 Mon Sep 17 00:00:00 2001 From: Muminul Islam Date: Sat, 21 Mar 2026 00:50:38 -0700 Subject: [PATCH] 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 --- 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 e2b7b08ad..6e5b0bd32 100644 --- a/cloud-hypervisor/tests/integration_cvm.rs +++ b/cloud-hypervisor/tests/integration_cvm.rs @@ -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); + } }