qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Cc: peter.maydell@linaro.org, alistair@alistair23.me, qemu-devel@nongnu.org
Subject: Re: [PATCH] hw/arm: fix min_cpus for xlnx-versal-virt platform
Date: Fri, 23 Oct 2020 11:20:27 +0200	[thread overview]
Message-ID: <20201023092027.GH2954729@toto> (raw)
In-Reply-To: <160343854912.8460.17915238517799132371.stgit@pasha-ThinkPad-X280>

On Fri, Oct 23, 2020 at 10:35:49AM +0300, Pavel Dovgalyuk wrote:
> This patch sets min_cpus field for xlnx-versal-virt platform,
> because it always creates XLNX_VERSAL_NR_ACPUS cpus even with
> -smp 1 command line option.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>



> 
> Signed-off-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
> ---
>  hw/arm/xlnx-versal-virt.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c
> index 03e23201b1..ee1282241e 100644
> --- a/hw/arm/xlnx-versal-virt.c
> +++ b/hw/arm/xlnx-versal-virt.c
> @@ -561,6 +561,7 @@ static void versal_virt_machine_class_init(ObjectClass *oc, void *data)
>  
>      mc->desc = "Xilinx Versal Virtual development board";
>      mc->init = versal_virt_init;
> +    mc->min_cpus = XLNX_VERSAL_NR_ACPUS;
>      mc->max_cpus = XLNX_VERSAL_NR_ACPUS;
>      mc->default_cpus = XLNX_VERSAL_NR_ACPUS;
>      mc->no_cdrom = true;
> 


  parent reply	other threads:[~2020-10-23  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-23  7:35 [PATCH] hw/arm: fix min_cpus for xlnx-versal-virt platform Pavel Dovgalyuk
2020-10-23  8:08 ` Philippe Mathieu-Daudé
2020-10-23  9:20 ` Edgar E. Iglesias [this message]
2020-10-26 13:23 ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201023092027.GH2954729@toto \
    --to=edgar.iglesias@gmail.com \
    --cc=alistair@alistair23.me \
    --cc=pavel.dovgalyuk@ispras.ru \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).