commit | 0aff81618bedcd2f60d83da4f743da4902638be6 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw@amazon.co.uk> | Mon Oct 23 09:37:17 2023 +0100 |
committer | David Woodhouse <dwmw@amazon.co.uk> | Fri Feb 02 16:23:47 2024 +0000 |
tree | d1e3e3790db8940a2655a63d0bed9f0d2293615d | |
parent | 4c71721651454343ff5cead85f02a1ada7520244 [diff] |
hw/ppc/spapr: use qemu_get_nic_info() and pci_init_nic_devices() Avoid directly referencing nd_table[] by first instantiating any spapr-vlan devices using a qemu_get_nic_info() loop, then calling pci_init_nic_devices() to do the rest. No functional change intended. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Thomas Huth <thuth@redhat.com>