[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 11/25] machine: adding s390 topology to info hotpluggable-cpus
From: |
Thomas Huth |
Subject: |
[PULL 11/25] machine: adding s390 topology to info hotpluggable-cpus |
Date: |
Wed, 18 Oct 2023 15:07:02 +0200 |
From: Pierre Morel <pmorel@linux.ibm.com>
S390 topology adds books and drawers topology containers.
Let's add these to the HMP information for hotpluggable cpus.
Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231016183925.2384704-12-nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/core/machine-hmp-cmds.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hw/core/machine-hmp-cmds.c b/hw/core/machine-hmp-cmds.c
index c3e55ef9e9..9a4b59c6f2 100644
--- a/hw/core/machine-hmp-cmds.c
+++ b/hw/core/machine-hmp-cmds.c
@@ -71,6 +71,12 @@ void hmp_hotpluggable_cpus(Monitor *mon, const QDict *qdict)
if (c->has_node_id) {
monitor_printf(mon, " node-id: \"%" PRIu64 "\"\n", c->node_id);
}
+ if (c->has_drawer_id) {
+ monitor_printf(mon, " drawer-id: \"%" PRIu64 "\"\n",
c->drawer_id);
+ }
+ if (c->has_book_id) {
+ monitor_printf(mon, " book-id: \"%" PRIu64 "\"\n", c->book_id);
+ }
if (c->has_socket_id) {
monitor_printf(mon, " socket-id: \"%" PRIu64 "\"\n",
c->socket_id);
}
--
2.41.0
- [PULL 07/25] s390x/cpu topology: interception of PTF instruction, (continued)
- [PULL 07/25] s390x/cpu topology: interception of PTF instruction, Thomas Huth, 2023/10/18
- [PULL 06/25] s390x/cpu topology: resetting the Topology-Change-Report, Thomas Huth, 2023/10/18
- [PULL 08/25] target/s390x/cpu topology: activate CPU topology, Thomas Huth, 2023/10/18
- [PULL 02/25] CPU topology: extend with s390 specifics, Thomas Huth, 2023/10/18
- [PULL 04/25] target/s390x/cpu topology: handle STSI(15) and build the SYSIB, Thomas Huth, 2023/10/18
- [PULL 10/25] machine: adding s390 topology to query-cpu-fast, Thomas Huth, 2023/10/18
- [PULL 11/25] machine: adding s390 topology to info hotpluggable-cpus,
Thomas Huth <=
- [PULL 09/25] qapi/s390x/cpu topology: set-cpu-topology qmp command, Thomas Huth, 2023/10/18
- [PULL 12/25] qapi/s390x/cpu topology: CPU_POLARIZATION_CHANGE QAPI event, Thomas Huth, 2023/10/18
- [PULL 17/25] tests/avocado: s390x cpu topology entitlement tests, Thomas Huth, 2023/10/18
- [PULL 13/25] qapi/s390x/cpu topology: add query-s390x-cpu-polarization command, Thomas Huth, 2023/10/18
- [PULL 21/25] tests/avocado: s390x cpu topology bad move, Thomas Huth, 2023/10/18
- [PULL 24/25] target/s390x/kvm: Simplify the GPRs, ACRs, CRs and prefix synchronization code, Thomas Huth, 2023/10/18
- [PULL 22/25] hw/s390x: Clean up global variable shadowing in quiesce_powerdown_req(), Thomas Huth, 2023/10/18
- [PULL 15/25] tests/avocado: s390x cpu topology core, Thomas Huth, 2023/10/18
- [PULL 14/25] docs/s390x/cpu topology: document s390x cpu topology, Thomas Huth, 2023/10/18
- [PULL 18/25] tests/avocado: s390x cpu topology test dedicated CPU, Thomas Huth, 2023/10/18