[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH RFC 00/16] Rework SMP parameters
From: |
Andrew Jones |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH RFC 00/16] Rework SMP parameters |
Date: |
Sun, 12 Jun 2016 15:58:16 +0200 |
User-agent: |
Mutt/1.5.23.1 (2014-03-12) |
On Sat, Jun 11, 2016 at 08:42:14AM +0200, Thomas Huth wrote:
> On 10.06.2016 19:40, Andrew Jones wrote:
> > This series is a first step in eliminating smp_* global
> > variables (the last patch gets rid of two of them!) And, it's
> > a first step in deprecating '-smp' in favor of using machine
> > properties, e.g.
> > qemu -machine pc,sockets=2,cores=2,threads=2,maxcpus=8,cpus=8 ...
>
> Why isn't '-smp' good enough anymore so that it got to be deprecated?
>
cpu topology is machine state, and the QEMU style of providing state
values for objects is through properties. So adding properties brings
cpu topology descriptions more in line. Keeping a redundant (not "in
line") command line option could confuse things.
Also, switching how the command line is used provides a clean breaking
point. -smp assumes values when none are provided. This can lead to
unexpected results for some machines. Rather than trying to code every
assumption possible, it's easier to just require all properties be
specified. Machines are still free to provide short-hand properties to
get defaults, if the 45 character collection of properties is too
annoying to use all the time (I agree that it may be).
Thanks,
drew
- Re: [Qemu-arm] [PATCH RFC 10/16] hw/ppc/spapr: don't use smp_cores, smp_threads, (continued)
[Qemu-arm] [PATCH RFC 13/16] hw/arm/virt: don't use smp_cpus, max_cpus, Andrew Jones, 2016/06/10
[Qemu-arm] [PATCH RFC 14/16] hw/arm/virt: stash cpu topo info in VirtGuestInfo, Andrew Jones, 2016/06/10
[Qemu-arm] [PATCH RFC 12/16] hw/arm/virt: rename *.smp_cpus to *.cpus, Andrew Jones, 2016/06/10
[Qemu-arm] [PATCH RFC 15/16] smbios: don't use smp_cores, smp_threads, Andrew Jones, 2016/06/10
[Qemu-arm] [PATCH RFC 16/16] sysemu/cpus: bye, bye smp_cores, smp_threads, Andrew Jones, 2016/06/10
Re: [Qemu-arm] [Qemu-devel] [PATCH RFC 00/16] Rework SMP parameters, Thomas Huth, 2016/06/11
- Re: [Qemu-arm] [Qemu-devel] [PATCH RFC 00/16] Rework SMP parameters,
Andrew Jones <=
Re: [Qemu-arm] [Qemu-devel] [PATCH RFC 00/16] Rework SMP parameters, Andrew Jones, 2016/06/12