Skip to content

Commit

Permalink
fix(host): fix the rtl8139 NIC information is missing (#21808)
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudCourierStation authored Dec 17, 2024
1 parent 7312f5c commit 8e5d985
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/hostman/guestman/pci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 8e5d985

Please sign in to comment.