diff options
author | Paolo Bonzini | 2021-05-13 15:03:48 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-07-06 08:33:51 +0200 |
commit | fe68090e8fbd6e831aaf3fc3bb0459c5cccf14cf (patch) | |
tree | ff4db37fdb76aa73e89615ad634be36e24f59588 /include/hw/boards.h | |
parent | vl: switch -M parsing to keyval (diff) | |
download | qemu-fe68090e8fbd6e831aaf3fc3bb0459c5cccf14cf.tar.gz qemu-fe68090e8fbd6e831aaf3fc3bb0459c5cccf14cf.tar.xz qemu-fe68090e8fbd6e831aaf3fc3bb0459c5cccf14cf.zip |
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>
Diffstat (limited to 'include/hw/boards.h')
-rw-r--r-- | include/hw/boards.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index 1eae4427e8..accd6eff35 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -26,7 +26,6 @@ OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE) extern MachineState *current_machine; void machine_run_board_init(MachineState *machine); -bool machine_smp_parse(MachineState *ms, QemuOpts *opts, Error **errp); bool machine_usb(MachineState *machine); int machine_phandle_start(MachineState *machine); bool machine_dump_guest_core(MachineState *machine); |