Re: [PATCH v3 24/28] net: add qemu_create_nic_bus_devices()

Durrant, Paul
2023-10-27T09:42:36Z

On 25/10/2023 15:50, David Woodhouse wrote:
> From: David Woodhouse <dwmw@amazon.co.uk>
>
> 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>
> ---
> include/net/net.h | 3 +++
> net/net.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 56 insertions(+)
>

Reviewed-by: Paul Durrant <paul@xen.org>