Re: [PATCH] cpus: verify that number of created cpus do not exceed smp params

2020-10-23 Thread Igor Mammedov
On Fri, 23 Oct 2020 10:34:41 +0300 Pavel Dovgalyuk wrote: > Machine definitions may miss some vCPU-related parameters. > E.g., xlnx-versal-virt missed min_cpus and it was set to 1 by default. > This allowed using -smp 1 command line argument. But the machine > still created 2 vCPUs and passed all

Re: [PATCH] cpus: verify that number of created cpus do not exceed smp params

2020-10-23 Thread Pavel Dovgalyuk
On 23.10.2020 11:10, Philippe Mathieu-Daudé wrote: On 10/23/20 9:34 AM, Pavel Dovgalyuk wrote: Machine definitions may miss some vCPU-related parameters. E.g., xlnx-versal-virt missed min_cpus and it was set to 1 by default. This allowed using -smp 1 command line argument. But the machine still

Re: [PATCH] cpus: verify that number of created cpus do not exceed smp params

2020-10-23 Thread Philippe Mathieu-Daudé
On 10/23/20 9:34 AM, Pavel Dovgalyuk wrote: Machine definitions may miss some vCPU-related parameters. E.g., xlnx-versal-virt missed min_cpus and it was set to 1 by default. This allowed using -smp 1 command line argument. But the machine still created 2 vCPUs and passed all checks. This patch ad

[PATCH] cpus: verify that number of created cpus do not exceed smp params

2020-10-23 Thread Pavel Dovgalyuk
Machine definitions may miss some vCPU-related parameters. E.g., xlnx-versal-virt missed min_cpus and it was set to 1 by default. This allowed using -smp 1 command line argument. But the machine still created 2 vCPUs and passed all checks. This patch adds one more check that does not allow creating