diff options
| author | Paolo Bonzini | 2021-07-29 16:03:43 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2021-07-30 12:04:01 +0200 |
| commit | e4383ca240d804bf1c472ed004d6c7b8a505fc63 (patch) | |
| tree | 94690ed0359fb3ece6de6cac4fc4463f02d9947b /scripts | |
| parent | vl: introduce machine_merge_property (diff) | |
| download | qemu-e4383ca240d804bf1c472ed004d6c7b8a505fc63.tar.gz qemu-e4383ca240d804bf1c472ed004d6c7b8a505fc63.tar.xz 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 'scripts')
0 files changed, 0 insertions, 0 deletions
