]> Git Repo - qemu.git/commit - hw/ppc/e500.c
net: allow using any PCI NICs in -net or -nic
authorPaolo Bonzini <[email protected]>
Fri, 2 Mar 2018 09:30:50 +0000 (10:30 +0100)
committerPaolo Bonzini <[email protected]>
Mon, 12 Mar 2018 15:12:45 +0000 (16:12 +0100)
commit52310c3fa7dc854dd2376ae8a518141abcdb78f3
tree29b2447b2f36061d43c4b6b6d3a57193b1e6bce6
parent47c66009ab793241e8210b3018c77a9ce9506aa8
net: allow using any PCI NICs in -net or -nic

Remove the hard-coded list of PCI NIC names; instead, fill an array
using all PCI devices listed under DEVICE_CATEGORY_NETWORK. Keep
the old shortcut "virtio" for virtio-net-pci.

Suggested-by: Thomas Huth <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Jason Wang <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/pci/pci.c
hw/ppc/e500.c
This page took 0.024892 seconds and 4 git commands to generate.