From nobody Sat Oct 25 23:38:20 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1522154367481880.9957445324941; Tue, 27 Mar 2018 05:39:27 -0700 (PDT) Received: from localhost ([::1]:34126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0nsi-0000m2-VG for importer@patchew.org; Tue, 27 Mar 2018 08:39:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0nrr-0007v4-5e for qemu-devel@nongnu.org; Tue, 27 Mar 2018 08:38:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0nro-0000sF-2r for qemu-devel@nongnu.org; Tue, 27 Mar 2018 08:38:23 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:32852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0nrn-0000qb-R9 for qemu-devel@nongnu.org; Tue, 27 Mar 2018 08:38:20 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2RCYUBP146649 for ; Tue, 27 Mar 2018 08:38:16 -0400 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gyn1vkbsy-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 27 Mar 2018 08:38:15 -0400 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 27 Mar 2018 08:38:12 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e14.ny.us.ibm.com (146.89.104.201) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 27 Mar 2018 08:38:10 -0400 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2RCc92O52560078; Tue, 27 Mar 2018 12:38:09 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D261012403F; Tue, 27 Mar 2018 09:40:17 -0400 (EDT) Received: from localhost.localdomain (unknown [9.122.211.138]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP id 5ACC9124037; Tue, 27 Mar 2018 09:40:17 -0400 (EDT) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 1D917280E2A; Tue, 27 Mar 2018 18:08:06 +0530 (IST) Received: (from satheesh@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id w2RCc5eO028896; Tue, 27 Mar 2018 18:08:05 +0530 From: sathnaga@linux.vnet.ibm.com To: qemu-devel@nongnu.org Date: Tue, 27 Mar 2018 18:08:00 +0530 X-Mailer: git-send-email 2.14.3 X-TM-AS-GCONF: 00 x-cbid: 18032712-0052-0000-0000-000002CFB840 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008753; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000255; SDB=6.01009141; UDB=6.00514046; IPR=6.00788423; MB=3.00020268; MTD=3.00000008; XFM=3.00000015; UTC=2018-03-27 12:38:11 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18032712-0053-0000-0000-00005C2112AF Message-Id: <20180327123800.28851-1-sathnaga@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-03-27_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803270128 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 148.163.156.1 Subject: [Qemu-devel] [PATCH] hmp.c: Revert hmp_info_cpus output format X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Satheesh Rajendran , Viktor Mihajlovski Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Satheesh Rajendran This commit 137b5cb6ab565cb3781d5337591e155932b4230e refactors info cpus output and changes output format from 'thread_id' to 'thread-id', this would break parsing of output in above layers like libvirt, test framework etc. This patch just reverts back output format to 'thread_id'. CC: Viktor Mihajlovski Signed-off-by: Satheesh Rajendran Acked-by: Dr. David Alan Gilbert Reviewed-by: Cornelia Huck Reviewed-by: Eric Blake --- hmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmp.c b/hmp.c index 679467d85a..a25c7bd9a8 100644 --- a/hmp.c +++ b/hmp.c @@ -381,7 +381,7 @@ void hmp_info_cpus(Monitor *mon, const QDict *qdict) =20 monitor_printf(mon, "%c CPU #%" PRId64 ":", active, cpu->value->cpu_index); - monitor_printf(mon, " thread-id=3D%" PRId64 "\n", cpu->value->thre= ad_id); + monitor_printf(mon, " thread_id=3D%" PRId64 "\n", cpu->value->thre= ad_id); } =20 qapi_free_CpuInfoFastList(cpu_list); --=20 2.14.3