mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-18 07:58:36 +00:00
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 <alex.lyn@antgroup.com>
This commit is contained in:
parent
e5008fe0c1
commit
e19d6a9daa
@ -487,7 +487,7 @@ impl VirtSandbox {
|
|||||||
sl!(),
|
sl!(),
|
||||||
"initdata push data into compressed block: {:?}", &image_path
|
"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 {
|
let block_config = BlockConfig {
|
||||||
path_on_host: image_path.display().to_string(),
|
path_on_host: image_path.display().to_string(),
|
||||||
is_readonly: true,
|
is_readonly: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user