diff options
| author | Paolo Bonzini | 2018-03-02 10:30:50 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2018-03-12 16:12:45 +0100 |
| commit | 52310c3fa7dc854dd2376ae8a518141abcdb78f3 (patch) | |
| tree | 29b2447b2f36061d43c4b6b6d3a57193b1e6bce6 /include | |
| parent | qom: introduce object_class_get_list_sorted (diff) | |
| download | qemu-52310c3fa7dc854dd2376ae8a518141abcdb78f3.tar.gz qemu-52310c3fa7dc854dd2376ae8a518141abcdb78f3.tar.xz 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 'include')
0 files changed, 0 insertions, 0 deletions
