diff options
| author | David Woodhouse <dwmw@amazon.co.uk> | 2023-10-22 09:13:41 +0100 |
|---|---|---|
| committer | David Woodhouse <dwmw@amazon.co.uk> | 2024-02-02 16:23:47 +0000 |
| commit | 93125e4b4f4b96c8fdce7ae73d8d702f37d9f3b2 (patch) | |
| tree | 5b9be12e2f5f7362260b0009de65aff992a30718 /hw/pci/pci.c | |
| parent | 2cdeca04adab3858db11f6740f019b7d29aeac1e (diff) | |
| download | focaccia-qemu-93125e4b4f4b96c8fdce7ae73d8d702f37d9f3b2.tar.gz focaccia-qemu-93125e4b4f4b96c8fdce7ae73d8d702f37d9f3b2.zip | |
net: add qemu_create_nic_bus_devices()
This will instantiate any NICs which live on a given bus type. Each bus is allowed *one* substitution (for PCI it's virtio → virtio-net-pci, for Xen it's xen → xen-net-device; no point in overengineering it unless we actually want more). Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions