qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-3.2 v7 6/6] hw/riscv/virt: Connect a VirtIO


From: Logan Gunthorpe
Subject: Re: [Qemu-devel] [PATCH for-3.2 v7 6/6] hw/riscv/virt: Connect a VirtIO net PCIe device
Date: Wed, 21 Nov 2018 11:07:05 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]