]> Git Repo - qemu.git/commit
spapr: Set VSMT to smp_threads by default
authorGreg Kurz <[email protected]>
Thu, 3 Oct 2019 12:02:00 +0000 (14:02 +0200)
committerDavid Gibson <[email protected]>
Wed, 23 Oct 2019 22:36:55 +0000 (09:36 +1100)
commit29cb4187497dcc6be80c9cd2a87764be89d940f6
tree94b83e02725bbf7f65633dfb60f9de446a2c91c9
parent06d26eeb47de96c0fa0cc1d5e95124b0a809b3ac
spapr: Set VSMT to smp_threads by default

Support for setting VSMT is available in KVM since linux-4.13. Most distros
that support KVM on POWER already have it. It thus seem reasonable enough
to have the default machine to set VSMT to smp_threads.

This brings contiguous VCPU ids and thus brings their upper bound down to
the machine's max_cpus. This is especially useful for XIVE KVM devices,
which may thus allocate only one VP descriptor per VCPU.

Signed-off-by: Greg Kurz <[email protected]>
Message-Id: <157010411885.246126.12610015369068227139[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/spapr.c
include/hw/ppc/spapr.h
This page took 0.026289 seconds and 4 git commands to generate.