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

Co-authored-by: 云原生驿站 <33771248+CloudCourierStation@users.noreply.github.com>
This commit is contained in:
Zexi Li
2024-12-17 10:36:54 +08:00
committed by GitHub
co-authored by 云原生驿站
parent 9d666573c0
commit 32bb02f443
+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)
}
}
}