[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v23 12/20] qapi/s390x/cpu topology: query-cpu-polarization qm
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v23 12/20] qapi/s390x/cpu topology: query-cpu-polarization qmp command |
Date: |
Wed, 20 Sep 2023 13:51:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Nina Schoetterl-Glausch <nsg@linux.ibm.com> writes:
> From: Pierre Morel <pmorel@linux.ibm.com>
>
> The query-cpu-polarization qmp command returns the current
> CPU polarization of the machine.
>
> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
> Co-developed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
> Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
> ---
> qapi/machine-target.json | 29 +++++++++++++++++++++++++++++
> hw/s390x/cpu-topology.c | 8 ++++++++
> 2 files changed, 37 insertions(+)
>
> diff --git a/qapi/machine-target.json b/qapi/machine-target.json
> index 276c3bf9d1..58ba28a868 100644
> --- a/qapi/machine-target.json
> +++ b/qapi/machine-target.json
> @@ -445,3 +445,32 @@
> 'features': [ 'unstable' ],
> 'if': { 'all': [ 'TARGET_S390X', 'CONFIG_KVM' ] }
> }
> +
> +##
> +# @CpuPolarizationInfo:
> +#
> +# The result of a cpu polarization
CPU polarization
End the sentence with a period, please.
> +#
> +# @polarization: the CPU polarization
> +#
> +# Since: 8.2
> +##
> +{ 'struct': 'CpuPolarizationInfo',
> + 'data': { 'polarization': 'CpuS390Polarization' },
> + 'if': { 'all': [ 'TARGET_S390X', 'CONFIG_KVM' ] }
> +}
> +
> +##
> +# @query-s390x-cpu-polarization:
> +#
> +# Features:
Blank line, please.
> +# @unstable: This command may still be modified.
Make this
# @unstable: This command is experimental.
> +#
> +# Returns: the machine polarization
The CPU polarization, I presume?
> +#
> +# Since: 8.2
> +##
> +{ 'command': 'query-s390x-cpu-polarization', 'returns':
> 'CpuPolarizationInfo',
> + 'features': [ 'unstable' ],
> + 'if': { 'all': [ 'TARGET_S390X', 'CONFIG_KVM' ] }
> +}
[...]
- [PATCH v23 00/20] s390x: CPU Topology, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 07/20] target/s390x/cpu topology: activate CPU topology, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 16/20] tests/avocado: s390x cpu topology entitlement tests, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 19/20] tests/avocado: s390x cpu topology dedicated errors, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 03/20] target/s390x/cpu topology: handle STSI(15) and build the SYSIB, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 12/20] qapi/s390x/cpu topology: query-cpu-polarization qmp command, Nina Schoetterl-Glausch, 2023/09/14
- Re: [PATCH v23 12/20] qapi/s390x/cpu topology: query-cpu-polarization qmp command,
Markus Armbruster <=
- [PATCH v23 18/20] tests/avocado: s390x cpu topology test socket full, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 06/20] s390x/cpu topology: interception of PTF instruction, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 09/20] machine: adding s390 topology to query-cpu-fast, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 05/20] s390x/cpu topology: resetting the Topology-Change-Report, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 14/20] tests/avocado: s390x cpu topology core, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 17/20] tests/avocado: s390x cpu topology test dedicated CPU, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 15/20] tests/avocado: s390x cpu topology polarization, Nina Schoetterl-Glausch, 2023/09/14
- [PATCH v23 01/20] CPU topology: extend with s390 specifics, Nina Schoetterl-Glausch, 2023/09/14