runtime: fix device typo

Fix device typo in dragonball / runtime-rs / runtime.

Signed-off-by: Adeet Phanse <adeet.phanse@mongodb.com>
This commit is contained in:
Adeet Phanse
2025-10-07 10:41:42 -04:00
committed by Aurélien Bombo
parent d954932876
commit 4e4f9c44ae
5 changed files with 5 additions and 5 deletions

View File

@@ -594,7 +594,7 @@ pub async fn do_handle_device(
.await
.try_add_device(&device_id)
.await
.context("failed to add deivce")?;
.context("failed to add device")?;
let device_info = d
.read()

View File

@@ -492,7 +492,7 @@ impl Device for VfioDevice {
return Ok(());
}
// do add device for vfio deivce
// do add device for vfio device
match h.add_device(DeviceType::Vfio(self.clone())).await {
Ok(dev) => {
// Update device info with the one received from device attach

View File

@@ -260,7 +260,7 @@ impl DragonballInner {
.context("insert network device")
}
/// Add vhost-user-net deivce to Dragonball
/// Add vhost-user-net device to Dragonball
fn add_vhost_user_net_device(&mut self, config: &VhostUserConfig) -> Result<()> {
let guest_mac = MacAddr::parse_str(&config.mac_address).ok();
let net_cfg = NetworkInterfaceConfig {