On 25/10/2023 15:50, David Woodhouse wrote:
From: David Woodhouse <dwmw@xxxxxxxxxxxx> Eliminate direct access to nd_table[] and nb_nics by processing the the ISA NICs first and then calling pci_init_nic_devices() for the test. It's important to do this *before* the subsequent patch which registers the Xen PV network devices, because the code being remove here didn't check whether nd->instantiated was already set before using each entry. Signed-off-by: David Woodhouse <dwmw@xxxxxxxxxxxx> --- hw/i386/pc.c | 21 +++++++++++---------- include/hw/net/ne2000-isa.h | 2 -- 2 files changed, 11 insertions(+), 12 deletions(-)
Reviewed-by: Paul Durrant <paul@xxxxxxx>