qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] hw/arm/virt: Allow zero address for PCI IO s


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] hw/arm/virt: Allow zero address for PCI IO space
Date: Tue, 13 Oct 2015 18:36:42 +0100

On 13 October 2015 at 15:35, Alexander Gordeev <address@hidden> wrote:
> Currently PCI IO address 0 is not allowed even though
> the IO space starts from 0. This update makes  PCI IO
> address 0 usable.
>
> CC: Peter Maydell <address@hidden>
> CC: Andrew Jones <address@hidden>
> Signed-off-by: Alexander Gordeev <address@hidden>
> ---
>  hw/arm/virt.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/hw/arm/virt.c b/hw/arm/virt.c
> index d25d6cf..3620489 100644
> --- a/hw/arm/virt.c
> +++ b/hw/arm/virt.c
> @@ -1157,6 +1157,7 @@ static void virt_class_init(ObjectClass *oc, void *data)
>      mc->has_dynamic_sysbus = true;
>      mc->block_default_type = IF_VIRTIO;
>      mc->no_cdrom = 1;
> +    mc->pci_allow_0_address = true;
>  }
>
>  static const TypeInfo machvirt_info = {

Applied to target-arm.next, thanks.

-- PMM



reply via email to

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