]> git.ipfire.org Git - thirdparty/qemu.git/commit - system/vl.c
machine: add smp compound property
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 13 May 2021 13:03:48 +0000 (09:03 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Jul 2021 06:33:51 +0000 (08:33 +0200)
commitfe68090e8fbd6e831aaf3fc3bb0459c5cccf14cf
treeff4db37fdb76aa73e89615ad634be36e24f59588
parentd8fb7d0969d5c32b3d1b9e20b63ec6c0abe80be4
machine: add smp compound property

Make -smp syntactic sugar for a compound property "-machine
smp.{cores,threads,cpu,...}".  machine_smp_parse is replaced by the
setter for the property.

numa-test will now cover the new syntax, while other tests
still use -smp.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
include/hw/boards.h
softmmu/vl.c
tests/qtest/numa-test.c