From cfbff4c6e8f9033c44563406157e9085eaf72965 Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Tue, 17 Dec 2024 10:36:35 +0800 Subject: [PATCH] fix(host): fix the rtl8139 NIC information is missing (#21816) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 云原生驿站 <33771248+CloudCourierStation@users.noreply.github.com> --- pkg/hostman/guestman/pci.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/hostman/guestman/pci.go b/pkg/hostman/guestman/pci.go index 2a562c6c52..91d7a923b3 100644 --- a/pkg/hostman/guestman/pci.go +++ b/pkg/hostman/guestman/pci.go @@ -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) } } }