]> git.proxmox.com Git - mirror_qemu.git/commit - net/net.c
net: Move the code to collect available NIC models to a separate function
authorThomas Huth <thuth@redhat.com>
Thu, 10 Nov 2022 12:52:22 +0000 (13:52 +0100)
committerJason Wang <jasowang@redhat.com>
Fri, 17 Feb 2023 05:31:33 +0000 (13:31 +0800)
commitc6941b3b9b7445f7760c462882f8397b9dc51e30
treedb3f9ce119680c488433f24f99963c13103be0cc
parent6dffbe36af79e26a4d23f94a9a1c1201de99c261
net: Move the code to collect available NIC models to a separate function

The code that collects the available NIC models is not really specific
to PCI anymore and will be required in the next patch, too, so let's
move this into a new separate function in net.c instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/pci/pci.c
include/net/net.h
net/net.c