On 2018-11-21 10:03 a.m., Alistair Francis wrote: > + pci_bus = PCI_HOST_BRIDGE(dev)->bus; > + > + for (i = 0; i < nb_nics; i++) { > + NICInfo *nd = &nd_table[i]; > + > + if (!nd->model) { > + nd->model = g_strdup("virtio"); > + } > + > + pci_nic_init_nofail(nd, pci_bus, nd->model, NULL); > + }
I don't understand what this patch actually accomplishes. It doesn't seem to affect my network devices when running QEMU. Can you provide a commit message explaining this? Thanks, Logan