fix(host): fix the rtl8139 NIC information is missing (#21816)

Co-authored-by: 云原生驿站 <33771248+CloudCourierStation@users.noreply.github.com>
This commit is contained in:
Zexi Li
2024-12-17 10:36:35 +08:00
committed by GitHub
parent b6fcbf69ec
commit cfbff4c6e8
+2
View File
@@ -324,6 +324,8 @@ func (s *SKVMGuestInstance) initGuestNetworks(pciRoot, pciBridge *desc.PCIContro
s.Desc.Nics[i].Pci = desc.NewPCIDevice(cont.CType, "e1000-82545em", id)
case "vmxnet3":
s.Desc.Nics[i].Pci = desc.NewPCIDevice(cont.CType, "vmxnet3", id)
case "rtl8139":
s.Desc.Nics[i].Pci = desc.NewPCIDevice(cont.CType, "rtl8139", id)
}
}
}