summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-07-29 16:03:43 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-07-30 12:04:01 +0200
commite4383ca240d804bf1c472ed004d6c7b8a505fc63 (patch)
tree94690ed0359fb3ece6de6cac4fc4463f02d9947b /docs/devel/secure-coding-practices.rst
parenta3c2f12830683e285e1ef32d459717dcdf9b70c6 (diff)
downloadfocaccia-qemu-e4383ca240d804bf1c472ed004d6c7b8a505fc63.tar.gz
focaccia-qemu-e4383ca240d804bf1c472ed004d6c7b8a505fc63.zip
vl: stop recording -smp in QemuOpts
-readconfig is still recording SMP options in QemuOpts instead of
using machine_opts_dict.  This means that SMP options from -readconfig
are ignored.

Just stop using QemuOpts for -smp, making it return false for
is_qemuopts_group.  Configuration files will merge the values in
machine_opts_dict using the new function machine_merge_property.

At the same time, fix -mem-prealloc which looked at QemuOpts to find the
number of guest CPUs, which it used as the default number of preallocation
threads.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions