mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-23 05:04:07 +00:00
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:
committed by
Aurélien Bombo
parent
d954932876
commit
4e4f9c44ae
@@ -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()
|
||||
|
@@ -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
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user