[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/11] machine: add smp compound property
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 11/11] machine: add smp compound property |
Date: |
Thu, 10 Jun 2021 15:41:25 +0100 |
User-agent: |
Mutt/2.0.7 (2021-05-04) |
On Thu, Jun 10, 2021 at 03:35:38PM +0200, Paolo Bonzini wrote:
> 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 | 108 +++++++++++++++++++++-------------------
> include/hw/boards.h | 1 -
> softmmu/vl.c | 33 +++++++++---
> tests/qtest/numa-test.c | 22 ++++----
> 4 files changed, 95 insertions(+), 69 deletions(-)
Needs to update qemu-options.hx for -machine and -smp
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 00/11] vl: compound properties for machines, Paolo Bonzini, 2021/06/10
- [PATCH 01/11] qom: export more functions for use with non-UserCreatable objects, Paolo Bonzini, 2021/06/10
- [PATCH 04/11] vl: switch -M parsing to keyval, Paolo Bonzini, 2021/06/10
- [PATCH 06/11] machine: move dies from X86MachineState to CpuTopology, Paolo Bonzini, 2021/06/10
- [PATCH 07/11] machine: move common smp_parse code to caller, Paolo Bonzini, 2021/06/10
- [PATCH 11/11] machine: add smp compound property, Paolo Bonzini, 2021/06/10
- Re: [PATCH 11/11] machine: add smp compound property,
Daniel P . Berrangé <=
- [PATCH 02/11] keyval: introduce keyval_merge, Paolo Bonzini, 2021/06/10
- [PATCH 03/11] keyval: introduce keyval_parse_into, Paolo Bonzini, 2021/06/10
- [PATCH 05/11] qemu-option: remove now-dead code, Paolo Bonzini, 2021/06/10
- [PATCH 10/11] machine: reject -smp dies!=1 for non-PC machines, Paolo Bonzini, 2021/06/10