On Thu, 11 Mar 2021 11:59:18 +0300
Denis Plotnikov wrote:
> Preallocation in memory backends can be specified with either global
> QEMU option "-mem-prealloc", or with per-backend property
> "prealloc=true". In the latter case, however, the default for the
> number of preallocation threads is
On 11/03/21 09:59, Denis Plotnikov wrote:
diff --git a/softmmu/vl.c b/softmmu/vl.c
index ff488ea3e7db..e392e226a2d3 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -2300,14 +2300,17 @@ static void qemu_validate_options(void)
static void qemu_process_sugar_options(void)
{
-if
On 11/03/21 09:59, Denis Plotnikov wrote:
Preallocation in memory backends can be specified with either global
QEMU option "-mem-prealloc", or with per-backend property
"prealloc=true". In the latter case, however, the default for the
number of preallocation threads is not set to the number of
Preallocation in memory backends can be specified with either global
QEMU option "-mem-prealloc", or with per-backend property
"prealloc=true". In the latter case, however, the default for the
number of preallocation threads is not set to the number of vcpus, but
remains at 1 instead.
Fix it by