diff --git a/src/runtime-rs/crates/hypervisor/src/device/driver/vhost_user.rs b/src/runtime-rs/crates/hypervisor/src/device/driver/vhost_user.rs index 53258821c5..43b21a1756 100644 --- a/src/runtime-rs/crates/hypervisor/src/device/driver/vhost_user.rs +++ b/src/runtime-rs/crates/hypervisor/src/device/driver/vhost_user.rs @@ -4,6 +4,8 @@ // SPDX-License-Identifier: Apache-2.0 // +use crate::device::pci_path::PciPath; + #[derive(Debug, Clone)] pub enum VhostUserType { /// Blk - represents a block vhostuser device type @@ -50,8 +52,8 @@ pub struct VhostUserConfig { pub device_type: VhostUserType, /// guest block driver pub driver_option: String, - /// pci_addr is the PCI address used to identify the slot at which the drive is attached. - pub pci_addr: Option, + /// pci_path is the PCI Path used to identify the slot at which the device is attached. + pub pci_path: Option, /// Block index of the device if assigned /// type u64 is not OK