diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-02 10:30:50 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-12 16:12:45 +0100 |
commit | 52310c3fa7dc854dd2376ae8a518141abcdb78f3 (patch) | |
tree | 29b2447b2f36061d43c4b6b6d3a57193b1e6bce6 /hw/i386/pc_piix.c | |
parent | 47c66009ab793241e8210b3018c77a9ce9506aa8 (diff) | |
download | qemu-52310c3fa7dc854dd2376ae8a518141abcdb78f3.zip |
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 <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/pc_piix.c')
0 files changed, 0 insertions, 0 deletions