From e19d6a9daac94cf11931c91a875abaf954ac8e09 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 0f1c931fae..dfec87d3ff 100644 --- a/src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs +++ b/src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs @@ -487,7 +487,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,