From 83d9228f89c8fe3825fa5879aa8d2d77798eb9a2 Mon Sep 17 00:00:00 2001 From: Alex Lyn Date: Thu, 14 Aug 2025 17:40:01 +0800 Subject: [PATCH] runtime-rs: Change the initdata device driver with block_device_driver Currently, we change vm_rootfs_driver as the initdata device driver with block_device_driver. Signed-off-by: Alex Lyn --- src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs b/src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs index 7810525a3a..8eb0ca3776 100644 --- a/src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs +++ b/src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs @@ -488,7 +488,7 @@ impl VirtSandbox { sl!(), "initdata push data into compressed block: {:?}", &image_path ); - let block_driver = &hypervisor_config.boot_info.vm_rootfs_driver; + let block_driver = &hypervisor_config.blockdev_info.block_device_driver; let block_config = BlockConfig { path_on_host: image_path.display().to_string(), is_readonly: true,