qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v1 1/1] xlnx-zcu102: Specify the number of max C


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH v1 1/1] xlnx-zcu102: Specify the number of max CPUs
Date: Fri, 27 Oct 2017 15:22:00 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

Hi Alistair,

On 10/27/2017 11:35 AM, Alistair Francis wrote:
> Specify the number of CPUs that can run on ZynqMP.
> 
> Signed-off-by: Alistair Francis <address@hidden>
> ---
> 
>  hw/arm/xlnx-zcu102.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c
> index 519a16ed98..b86c048bb3 100644
> --- a/hw/arm/xlnx-zcu102.c
> +++ b/hw/arm/xlnx-zcu102.c
> @@ -240,6 +240,7 @@ static void xlnx_zcu102_machine_class_init(ObjectClass 
> *oc, void *data)
>      mc->block_default_type = IF_IDE;
>      mc->units_per_default_bus = 1;
>      mc->ignore_memory_transaction_failures = true;
> +    mc->max_cpus = 6;

This can be self-explanatory:

    mc->max_cpus = XLNX_ZYNQMP_NUM_APU_CPUS + XLNX_ZYNQMP_NUM_RPU_CPUS;

Then:
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

>  }
>  
>  static const TypeInfo xlnx_zcu102_machine_init_typeinfo = {
> 



reply via email to

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