diff --git a/src/runtime-rs/crates/resource/src/volume/spdk_volume.rs b/src/runtime-rs/crates/resource/src/volume/spdk_volume.rs index f0ea125da7..85bd645a9f 100644 --- a/src/runtime-rs/crates/resource/src/volume/spdk_volume.rs +++ b/src/runtime-rs/crates/resource/src/volume/spdk_volume.rs @@ -75,7 +75,7 @@ impl SPDKVolume { let block_driver = get_block_driver(d).await; - let mut vhu_blk_config = &mut VhostUserConfig { + let vhu_blk_config = &mut VhostUserConfig { socket_path: device, device_type: VhostUserType::Blk("vhost-user-blk-pci".to_owned()), driver_option: block_driver,