[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [BUG] virtio-net linux driver fails to probe on MIPS Ma
From: |
James Hogan |
Subject: |
Re: [Qemu-devel] [BUG] virtio-net linux driver fails to probe on MIPS Malta since 'hw/virtio-pci: fix virtio behaviour' |
Date: |
Mon, 27 Mar 2017 19:45:28 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
Hi Marcel,
On Tue, Mar 21, 2017 at 04:16:58PM +0200, Marcel Apfelbaum wrote:
> Can you please check if the below patch fixes the problem?
> Please note it is not a solution.
>
> diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
> index f9b7244..5b4d429 100644
> --- a/hw/virtio/virtio-pci.c
> +++ b/hw/virtio/virtio-pci.c
> @@ -1671,9 +1671,7 @@ static void virtio_pci_device_plugged(DeviceState *d,
> Error **errp)
> }
>
> pci_register_bar(&proxy->pci_dev, proxy->modern_mem_bar_idx,
> - PCI_BASE_ADDRESS_SPACE_MEMORY |
> - PCI_BASE_ADDRESS_MEM_PREFETCH |
> - PCI_BASE_ADDRESS_MEM_TYPE_64,
> + PCI_BASE_ADDRESS_SPACE_MEMORY,
> &proxy->modern_bar);
>
> proxy->config_cap = virtio_pci_add_mem_cap(proxy, &cfg.cap);
Sorry for the delay trying this, I was away last week.
No, it doesn't seem to make any difference.
Thanks
James
signature.asc
Description: Digital signature