qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v14 09/11] qapi/s390/cpu topology: monitor query topology inf


From: Pierre Morel
Subject: Re: [PATCH v14 09/11] qapi/s390/cpu topology: monitor query topology information
Date: Wed, 18 Jan 2023 16:59:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0



On 1/12/23 12:48, Thomas Huth wrote:
On 05/01/2023 15.53, Pierre Morel wrote:
Reporting the current topology informations to the admin through
the QEMU monitor.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
---
...
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index 754b1e8408..5730a47f71 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -993,3 +993,19 @@ SRST
    ``info virtio-queue-element`` *path* *queue* [*index*]
      Display element of a given virtio queue
  ERST
+
+#if defined(TARGET_S390X) && defined(CONFIG_KVM)
+    {
+        .name       = "query-topology",
+        .args_type  = "",
+        .params     = "",
+        .help       = "Show information about CPU topology",
+        .cmd        = hmp_query_topology,
+        .flags      = "p",
+    },
+
+SRST
+  ``info query-topology``

"info query-topology" sounds weird ... I'd maybe rather call it only "info topology" or "info cpu-topology" here.

info cpu-topology looks good for me.

thanks.

Regards,
Pierre


  Thomas


+    Show information about CPU topology
+ERST
+#endif


--
Pierre Morel
IBM Lab Boeblingen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]