diff --git a/src/dragonball/src/config_manager.rs b/src/dragonball/src/config_manager.rs index ff74fb925a..428ccecbf4 100644 --- a/src/dragonball/src/config_manager.rs +++ b/src/dragonball/src/config_manager.rs @@ -165,7 +165,7 @@ impl DeviceConfigInfo where T: ConfigItem + Clone, { - /// Create a new instance of ['DeviceInfoGroup']. + /// Create a new instance of ['DeviceConfigInfo']. pub fn new(config: T) -> Self { DeviceConfigInfo { config, @@ -173,7 +173,7 @@ where } } - /// Create a new instance of ['DeviceInfoGroup'] with optional device. + /// Create a new instance of ['DeviceConfigInfo'] with optional device. pub fn new_with_device(config: T, device: Option>) -> Self { DeviceConfigInfo { config, device } } diff --git a/src/dragonball/src/device_manager/vfio_dev_mgr/mod.rs b/src/dragonball/src/device_manager/vfio_dev_mgr/mod.rs index d70106e27f..893788c401 100644 --- a/src/dragonball/src/device_manager/vfio_dev_mgr/mod.rs +++ b/src/dragonball/src/device_manager/vfio_dev_mgr/mod.rs @@ -729,10 +729,10 @@ mod tests { use vm_memory::{GuestAddress, GuestMemoryMmap, MmapRegion}; use super::*; - use crate::config_manager::DeviceInfoGroup; + use crate::config_manager::DeviceConfigInfo; use crate::test_utils::tests::create_vm_for_test; - type VfioDeviceInfo = DeviceInfoGroup; + type VfioDeviceInfo = DeviceConfigInfo; fn get_vfio_dev_mgr() -> VfioDeviceMgr { let kvm = Kvm::new().unwrap();