]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/ppc: Clarify compat mode max_threads value
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 15 Jan 2018 05:40:23 +0000 (16:40 +1100)
committerGreg Kurz <groug@kaod.org>
Tue, 22 May 2018 10:58:59 +0000 (12:58 +0200)
commit8c0ec3c3989f059ab34a1c603f080e410e18eb29
treed793417dabc6766a254ba14981ef267a572b5114
parenta8074a58951b04ed40d824dd837d7771ba7f08cb
target/ppc: Clarify compat mode max_threads value

We recently had some discussions that were sidetracked for a while, because
nearly everyone misapprehended the purpose of the 'max_threads' field in
the compatiblity modes table.  It's all about guest expectations, not host
expectations or support (that's handled elsewhere).

In an attempt to avoid a repeat of that confusion, rename the field to
'max_vthreads' and add an explanatory comment.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
(cherry picked from commit abbc124753896f72e3715813ea20dd1924202ff0)
Signed-off-by: Greg Kurz <groug@kaod.org>
hw/ppc/spapr.c
target/ppc/compat.c
target/ppc/cpu.h