mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
CPU topology: extend with s390 specifics
S390 adds two new SMP levels, drawers and books to the CPU topology. S390 CPUs have specific topology features like dedication and entitlement. These indicate to the guest information on host vCPU scheduling and help the guest make better scheduling decisions. Add the new levels to the relevant QAPI structs. Add all the supported topology levels, dedication and entitlement as properties to S390 CPUs. Create machine-common.json so we can later include it in machine-target.json also. Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Co-developed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Message-ID: <20231016183925.2384704-3-nsg@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
3da4aef81c
commit
5de1aff255
15 changed files with 141 additions and 13 deletions
|
@ -726,6 +726,12 @@ static QemuOptsList qemu_smp_opts = {
|
|||
{
|
||||
.name = "cpus",
|
||||
.type = QEMU_OPT_NUMBER,
|
||||
}, {
|
||||
.name = "drawers",
|
||||
.type = QEMU_OPT_NUMBER,
|
||||
}, {
|
||||
.name = "books",
|
||||
.type = QEMU_OPT_NUMBER,
|
||||
}, {
|
||||
.name = "sockets",
|
||||
.type = QEMU_OPT_NUMBER,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue