]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc: Change Power9 compat table to support at most 8 threads/core
authorJose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Sun, 14 Jan 2018 19:23:48 +0000 (17:23 -0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 6 Feb 2018 00:55:26 +0000 (18:55 -0600)
commita1f33a5b93f75abfdbaf4023cf9b7935285a705f
treec4899a02828fea03395d71d1e006be32702b28cb
parent6a47136799c942bc8bc6eda0c39a2fe19b418864
ppc: Change Power9 compat table to support at most 8 threads/core

Increases the max smt mode to 8 for Power9. That's because KVM supports
smt emulation in this platform so QEMU should allow users to use it as
well.

Today if we try to pass -smp ...,threads=8, QEMU will silently truncate
it to smt4 mode and may cause a crash if we try to perform a cpu
hotplug.

Signed-off-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
[dwg: Added an explanatory comment]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit 03ee51d3548f5f553a3089f466483c1c6d5c666b)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/ppc/compat.c