From nobody Mon Apr 29 02:24:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1513678154336401.66474180323587; Tue, 19 Dec 2017 02:09:14 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 73AB77E436; Tue, 19 Dec 2017 10:09:12 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AEAE318EFB; Tue, 19 Dec 2017 10:09:10 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 9625E4BB79; Tue, 19 Dec 2017 10:09:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id vBJA8Uum029184 for ; Tue, 19 Dec 2017 05:08:30 -0500 Received: by smtp.corp.redhat.com (Postfix) id AAA6B17D06; Tue, 19 Dec 2017 10:08:30 +0000 (UTC) Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A4D4118537 for ; Tue, 19 Dec 2017 10:08:30 +0000 (UTC) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2BBBA85363 for ; Tue, 19 Dec 2017 10:08:25 +0000 (UTC) Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vBJA8KQL024071 for ; Tue, 19 Dec 2017 05:08:24 -0500 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2exy9bmfqp-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 19 Dec 2017 05:08:23 -0500 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Dec 2017 10:08:08 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 19 Dec 2017 10:08:07 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vBJA867048496648; Tue, 19 Dec 2017 10:08:06 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E66A652047; Tue, 19 Dec 2017 09:01:05 +0000 (GMT) Received: from s38lp19.boeblingen.de.ibm.com (unknown [9.152.161.19]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id BD9CC5203F; Tue, 19 Dec 2017 09:01:05 +0000 (GMT) From: Bjoern Walk To: libvir-list@redhat.com Date: Tue, 19 Dec 2017 11:08:00 +0100 In-Reply-To: <20171219100802.254672-1-bwalk@linux.vnet.ibm.com> References: <20171219100802.254672-1-bwalk@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 17121910-0008-0000-0000-000004B8AFB1 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17121910-0009-0000-0000-00001E4BCF05 Message-Id: <20171219100802.254672-2-bwalk@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-12-19_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712190147 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 207 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 19 Dec 2017 10:08:25 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 19 Dec 2017 10:08:25 +0000 (UTC) for IP:'148.163.156.1' DOMAIN:'mx0a-001b2d01.pphosted.com' HELO:'mx0a-001b2d01.pphosted.com' FROM:'bwalk@linux.vnet.ibm.com' RCPT:'' X-RedHat-Spam-Score: -0.701 (RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2) 148.163.156.1 mx0a-001b2d01.pphosted.com 148.163.156.1 mx0a-001b2d01.pphosted.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.25 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: Bjoern Walk Subject: [libvirt] [PATCH 1/3] util: virhostcpu: parse frequency information on S390 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 19 Dec 2017 10:09:13 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Since kernel version 4.7, processor frequency information is available on S390. Let's adjust the parser so this information shows up for virsh nodeinfo: # virsh nodeinfo CPU model: s390x CPU(s): 8 CPU frequency: 5000 MHz CPU socket(s): 1 Core(s) per socket: 8 Thread(s) per core: 1 NUMA cell(s): 1 Memory size: 16273908 KiB Reviewed-by: Marc Hartmayer Reviewed-by: Boris Fiuczynski Signed-off-by: Bjoern Walk Reviewed-by: John Ferlan --- src/util/virhostcpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/virhostcpu.c b/src/util/virhostcpu.c index 1c9ee592..24f0d936 100644 --- a/src/util/virhostcpu.c +++ b/src/util/virhostcpu.c @@ -598,6 +598,8 @@ virHostCPUParseFrequency(FILE *cpuinfo, prefix =3D "cpu MHz"; else if (ARCH_IS_PPC(arch)) prefix =3D "clock"; + else if (ARCH_IS_S390(arch)) + prefix =3D "cpu MHz dynamic"; =20 if (!prefix) { VIR_WARN("%s is not supported by the %s parser", --=20 2.13.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 02:24:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1513678154976847.9219293828423; Tue, 19 Dec 2017 02:09:14 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 170D75F7AF; Tue, 19 Dec 2017 10:09:13 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D9CE418B45; Tue, 19 Dec 2017 10:09:12 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7193A180474B; Tue, 19 Dec 2017 10:09:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id vBJA8PnF029158 for ; Tue, 19 Dec 2017 05:08:25 -0500 Received: by smtp.corp.redhat.com (Postfix) id 2DE8560C80; Tue, 19 Dec 2017 10:08:25 +0000 (UTC) Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 226E570107 for ; Tue, 19 Dec 2017 10:08:22 +0000 (UTC) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BB79380C0D for ; Tue, 19 Dec 2017 10:08:18 +0000 (UTC) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vBJA8C2O076342 for ; Tue, 19 Dec 2017 05:08:18 -0500 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ey0hprpx7-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 19 Dec 2017 05:08:15 -0500 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Dec 2017 10:08:10 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 19 Dec 2017 10:08:08 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vBJA87ae46989384; Tue, 19 Dec 2017 10:08:07 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C50352041; Tue, 19 Dec 2017 09:01:07 +0000 (GMT) Received: from s38lp19.boeblingen.de.ibm.com (unknown [9.152.161.19]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id E6D6E52045; Tue, 19 Dec 2017 09:01:06 +0000 (GMT) From: Bjoern Walk To: libvir-list@redhat.com Date: Tue, 19 Dec 2017 11:08:01 +0100 In-Reply-To: <20171219100802.254672-1-bwalk@linux.vnet.ibm.com> References: <20171219100802.254672-1-bwalk@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 17121910-0020-0000-0000-000003E1766E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17121910-0021-0000-0000-000042728A0E Message-Id: <20171219100802.254672-3-bwalk@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-12-19_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 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-1712190147 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 207 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 19 Dec 2017 10:08:18 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 19 Dec 2017 10:08:18 +0000 (UTC) for IP:'148.163.156.1' DOMAIN:'mx0a-001b2d01.pphosted.com' HELO:'mx0a-001b2d01.pphosted.com' FROM:'bwalk@linux.vnet.ibm.com' RCPT:'' X-RedHat-Spam-Score: -0.701 (RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2) 148.163.156.1 mx0a-001b2d01.pphosted.com 148.163.156.1 mx0a-001b2d01.pphosted.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: Bjoern Walk Subject: [libvirt] [PATCH 2/3] tests: virhostcputest: testcase for S390 system X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 19 Dec 2017 10:09:13 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Let's add a testcase for a S390 system running kernel version 4.14 on LPAR. Reviewed-by: Marc Hartmayer Reviewed-by: Boris Fiuczynski Signed-off-by: Bjoern Walk Reviewed-by: John Ferlan --- .../linux-s390x-with-frequency.cpuinfo | 52 ++++++++++++++++++= ++++ .../linux-s390x-with-frequency.expected | 1 + .../linux-with-frequency/cpu/cpu0/online | 1 + .../linux-with-frequency/cpu/cpu0/topology/book_id | 1 + .../cpu/cpu0/topology/book_siblings | 1 + .../cpu/cpu0/topology/book_siblings_list | 1 + .../linux-with-frequency/cpu/cpu0/topology/core_id | 1 + .../cpu/cpu0/topology/core_siblings | 1 + .../cpu/cpu0/topology/core_siblings_list | 1 + .../cpu/cpu0/topology/drawer_id | 1 + .../cpu/cpu0/topology/drawer_siblings | 1 + .../cpu/cpu0/topology/drawer_siblings_list | 1 + .../cpu/cpu0/topology/physical_package_id | 1 + .../cpu/cpu0/topology/thread_siblings | 1 + .../cpu/cpu0/topology/thread_siblings_list | 1 + .../linux-with-frequency/cpu/cpu1/online | 1 + .../linux-with-frequency/cpu/cpu1/topology/book_id | 1 + .../cpu/cpu1/topology/book_siblings | 1 + .../cpu/cpu1/topology/book_siblings_list | 1 + .../linux-with-frequency/cpu/cpu1/topology/core_id | 1 + .../cpu/cpu1/topology/core_siblings | 1 + .../cpu/cpu1/topology/core_siblings_list | 1 + .../cpu/cpu1/topology/drawer_id | 1 + .../cpu/cpu1/topology/drawer_siblings | 1 + .../cpu/cpu1/topology/drawer_siblings_list | 1 + .../cpu/cpu1/topology/physical_package_id | 1 + .../cpu/cpu1/topology/thread_siblings | 1 + .../cpu/cpu1/topology/thread_siblings_list | 1 + .../linux-with-frequency/cpu/cpu2/online | 1 + .../linux-with-frequency/cpu/cpu2/topology/book_id | 1 + .../cpu/cpu2/topology/book_siblings | 1 + .../cpu/cpu2/topology/book_siblings_list | 1 + .../linux-with-frequency/cpu/cpu2/topology/core_id | 1 + .../cpu/cpu2/topology/core_siblings | 1 + .../cpu/cpu2/topology/core_siblings_list | 1 + .../cpu/cpu2/topology/drawer_id | 1 + .../cpu/cpu2/topology/drawer_siblings | 1 + .../cpu/cpu2/topology/drawer_siblings_list | 1 + .../cpu/cpu2/topology/physical_package_id | 1 + .../cpu/cpu2/topology/thread_siblings | 1 + .../cpu/cpu2/topology/thread_siblings_list | 1 + .../linux-with-frequency/cpu/cpu3/online | 1 + .../linux-with-frequency/cpu/cpu3/topology/book_id | 1 + .../cpu/cpu3/topology/book_siblings | 1 + .../cpu/cpu3/topology/book_siblings_list | 1 + .../linux-with-frequency/cpu/cpu3/topology/core_id | 1 + .../cpu/cpu3/topology/core_siblings | 1 + .../cpu/cpu3/topology/core_siblings_list | 1 + .../cpu/cpu3/topology/drawer_id | 1 + .../cpu/cpu3/topology/drawer_siblings | 1 + .../cpu/cpu3/topology/drawer_siblings_list | 1 + .../cpu/cpu3/topology/physical_package_id | 1 + .../cpu/cpu3/topology/thread_siblings | 1 + .../cpu/cpu3/topology/thread_siblings_list | 1 + .../linux-with-frequency/cpu/cpu4/online | 1 + .../linux-with-frequency/cpu/cpu4/topology/book_id | 1 + .../cpu/cpu4/topology/book_siblings | 1 + .../cpu/cpu4/topology/book_siblings_list | 1 + .../linux-with-frequency/cpu/cpu4/topology/core_id | 1 + .../cpu/cpu4/topology/core_siblings | 1 + .../cpu/cpu4/topology/core_siblings_list | 1 + .../cpu/cpu4/topology/drawer_id | 1 + .../cpu/cpu4/topology/drawer_siblings | 1 + .../cpu/cpu4/topology/drawer_siblings_list | 1 + .../cpu/cpu4/topology/physical_package_id | 1 + .../cpu/cpu4/topology/thread_siblings | 1 + .../cpu/cpu4/topology/thread_siblings_list | 1 + .../linux-with-frequency/cpu/cpu5/online | 1 + .../linux-with-frequency/cpu/cpu5/topology/book_id | 1 + .../cpu/cpu5/topology/book_siblings | 1 + .../cpu/cpu5/topology/book_siblings_list | 1 + .../linux-with-frequency/cpu/cpu5/topology/core_id | 1 + .../cpu/cpu5/topology/core_siblings | 1 + .../cpu/cpu5/topology/core_siblings_list | 1 + .../cpu/cpu5/topology/drawer_id | 1 + .../cpu/cpu5/topology/drawer_siblings | 1 + .../cpu/cpu5/topology/drawer_siblings_list | 1 + .../cpu/cpu5/topology/physical_package_id | 1 + .../cpu/cpu5/topology/thread_siblings | 1 + .../cpu/cpu5/topology/thread_siblings_list | 1 + .../linux-with-frequency/cpu/cpu6/online | 1 + .../linux-with-frequency/cpu/cpu6/topology/book_id | 1 + .../cpu/cpu6/topology/book_siblings | 1 + .../cpu/cpu6/topology/book_siblings_list | 1 + .../linux-with-frequency/cpu/cpu6/topology/core_id | 1 + .../cpu/cpu6/topology/core_siblings | 1 + .../cpu/cpu6/topology/core_siblings_list | 1 + .../cpu/cpu6/topology/drawer_id | 1 + .../cpu/cpu6/topology/drawer_siblings | 1 + .../cpu/cpu6/topology/drawer_siblings_list | 1 + .../cpu/cpu6/topology/physical_package_id | 1 + .../cpu/cpu6/topology/thread_siblings | 1 + .../cpu/cpu6/topology/thread_siblings_list | 1 + .../linux-with-frequency/cpu/cpu7/online | 1 + .../linux-with-frequency/cpu/cpu7/topology/book_id | 1 + .../cpu/cpu7/topology/book_siblings | 1 + .../cpu/cpu7/topology/book_siblings_list | 1 + .../linux-with-frequency/cpu/cpu7/topology/core_id | 1 + .../cpu/cpu7/topology/core_siblings | 1 + .../cpu/cpu7/topology/core_siblings_list | 1 + .../cpu/cpu7/topology/drawer_id | 1 + .../cpu/cpu7/topology/drawer_siblings | 1 + .../cpu/cpu7/topology/drawer_siblings_list | 1 + .../cpu/cpu7/topology/physical_package_id | 1 + .../cpu/cpu7/topology/thread_siblings | 1 + .../cpu/cpu7/topology/thread_siblings_list | 1 + .../virhostcpudata/linux-with-frequency/cpu/online | 1 + .../linux-with-frequency/cpu/present | 1 + tests/virhostcputest.c | 1 + 109 files changed, 160 insertions(+) create mode 100644 tests/virhostcpudata/linux-s390x-with-frequency.cpuinfo create mode 100644 tests/virhostcpudata/linux-s390x-with-frequency.expected create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/onli= ne create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/book_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/book_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/book_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/core_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/core_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/core_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/drawer_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/drawer_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/drawer_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/physical_package_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/thread_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/thread_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/onli= ne create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/book_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/book_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/book_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/core_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/core_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/core_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/drawer_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/drawer_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/drawer_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/physical_package_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/thread_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/thread_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/onli= ne create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/book_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/book_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/book_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/core_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/core_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/core_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/drawer_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/drawer_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/drawer_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/physical_package_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/thread_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/thread_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/onli= ne create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/book_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/book_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/book_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/core_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/core_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/core_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/drawer_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/drawer_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/drawer_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/physical_package_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/thread_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/thread_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/onli= ne create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/book_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/book_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/book_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/core_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/core_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/core_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/drawer_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/drawer_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/drawer_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/physical_package_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/thread_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/thread_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/onli= ne create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/book_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/book_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/book_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/core_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/core_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/core_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/drawer_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/drawer_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/drawer_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/physical_package_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/thread_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/thread_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/onli= ne create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/book_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/book_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/book_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/core_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/core_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/core_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/drawer_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/drawer_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/drawer_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/physical_package_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/thread_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/thread_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/onli= ne create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/book_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/book_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/book_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/core_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/core_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/core_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/drawer_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/drawer_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/drawer_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/physical_package_id create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/thread_siblings create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/thread_siblings_list create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/online create mode 100644 tests/virhostcpudata/linux-with-frequency/cpu/present diff --git a/tests/virhostcpudata/linux-s390x-with-frequency.cpuinfo b/test= s/virhostcpudata/linux-s390x-with-frequency.cpuinfo new file mode 100644 index 00000000..0edc371d --- /dev/null +++ b/tests/virhostcpudata/linux-s390x-with-frequency.cpuinfo @@ -0,0 +1,52 @@ +vendor_id : IBM/S390 +# processors : 8 +bogomips per cpu: 20325.00 +max thread id : 1 +features : esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx= sie=20 +facilities : 0 1 2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22= 23 24 25 26 27 28 30 31 32 33 34 35 36 37 40 41 42 43 44 45 46 47 48 49 50= 51 52 53 55 57 64 65 66 67 68 69 70 71 72 73 75 76 77 78 80 128 129 131 13= 2 142 143 +cache0 : level=3D1 type=3DData scope=3DPrivate size=3D128K line_s= ize=3D256 associativity=3D8 +cache1 : level=3D1 type=3DInstruction scope=3DPrivate size=3D96K = line_size=3D256 associativity=3D6 +cache2 : level=3D2 type=3DData scope=3DPrivate size=3D2048K line_= size=3D256 associativity=3D8 +cache3 : level=3D2 type=3DInstruction scope=3DPrivate size=3D2048= K line_size=3D256 associativity=3D8 +cache4 : level=3D3 type=3DUnified scope=3DShared size=3D65536K li= ne_size=3D256 associativity=3D16 +cache5 : level=3D4 type=3DUnified scope=3DShared size=3D491520K l= ine_size=3D256 associativity=3D30 +processor 0: version =3D 00, identification =3D 145F07, machine =3D 2964 +processor 1: version =3D 00, identification =3D 145F07, machine =3D 2964 +processor 2: version =3D 00, identification =3D 145F07, machine =3D 2964 +processor 3: version =3D 00, identification =3D 145F07, machine =3D 2964 +processor 4: version =3D 00, identification =3D 145F07, machine =3D 2964 +processor 5: version =3D 00, identification =3D 145F07, machine =3D 2964 +processor 6: version =3D 00, identification =3D 145F07, machine =3D 2964 +processor 7: version =3D 00, identification =3D 145F07, machine =3D 2964 + +cpu number : 0 +cpu MHz dynamic : 5000 +cpu MHz static : 5000 + +cpu number : 1 +cpu MHz dynamic : 5000 +cpu MHz static : 5000 + +cpu number : 2 +cpu MHz dynamic : 5000 +cpu MHz static : 5000 + +cpu number : 3 +cpu MHz dynamic : 5000 +cpu MHz static : 5000 + +cpu number : 4 +cpu MHz dynamic : 5000 +cpu MHz static : 5000 + +cpu number : 5 +cpu MHz dynamic : 5000 +cpu MHz static : 5000 + +cpu number : 6 +cpu MHz dynamic : 5000 +cpu MHz static : 5000 + +cpu number : 7 +cpu MHz dynamic : 5000 +cpu MHz static : 5000 diff --git a/tests/virhostcpudata/linux-s390x-with-frequency.expected b/tes= ts/virhostcpudata/linux-s390x-with-frequency.expected new file mode 100644 index 00000000..aeb595a2 --- /dev/null +++ b/tests/virhostcpudata/linux-s390x-with-frequency.expected @@ -0,0 +1 @@ +CPUs: 8/8, MHz: 5000, Nodes: 1, Sockets: 1, Cores: 8, Threads: 1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/online b/te= sts/virhostcpudata/linux-with-frequency/cpu/cpu0/online new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/online @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/bo= ok_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/book_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/book_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/bo= ok_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/b= ook_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/book_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/bo= ok_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topol= ogy/book_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/book_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/co= re_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/core_id new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/core_id @@ -0,0 +1 @@ +0 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/co= re_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/c= ore_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/core_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/co= re_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topol= ogy/core_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/core_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/dr= awer_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/drawe= r_id new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/drawer_id @@ -0,0 +1 @@ +4 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/dr= awer_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology= /drawer_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/drawer_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/dr= awer_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/top= ology/drawer_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/drawer_si= blings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/ph= ysical_package_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topo= logy/physical_package_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/physical_= package_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/th= read_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology= /thread_siblings new file mode 100644 index 00000000..176d3d66 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/thread_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/th= read_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/top= ology/thread_siblings_list new file mode 100644 index 00000000..8b0fab86 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu0/topology/thread_si= blings_list @@ -0,0 +1 @@ +0-1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/online b/te= sts/virhostcpudata/linux-with-frequency/cpu/cpu1/online new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/online @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/bo= ok_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/book_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/book_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/bo= ok_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/b= ook_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/book_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/bo= ok_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topol= ogy/book_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/book_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/co= re_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/core_id new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/core_id @@ -0,0 +1 @@ +0 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/co= re_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/c= ore_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/core_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/co= re_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topol= ogy/core_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/core_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/dr= awer_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/drawe= r_id new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/drawer_id @@ -0,0 +1 @@ +4 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/dr= awer_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology= /drawer_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/drawer_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/dr= awer_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/top= ology/drawer_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/drawer_si= blings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/ph= ysical_package_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topo= logy/physical_package_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/physical_= package_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/th= read_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology= /thread_siblings new file mode 100644 index 00000000..176d3d66 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/thread_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/th= read_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/top= ology/thread_siblings_list new file mode 100644 index 00000000..8b0fab86 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu1/topology/thread_si= blings_list @@ -0,0 +1 @@ +0-1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/online b/te= sts/virhostcpudata/linux-with-frequency/cpu/cpu2/online new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/online @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/bo= ok_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/book_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/book_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/bo= ok_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/b= ook_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/book_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/bo= ok_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topol= ogy/book_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/book_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/co= re_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/core_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/core_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/co= re_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/c= ore_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/core_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/co= re_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topol= ogy/core_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/core_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/dr= awer_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/drawe= r_id new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/drawer_id @@ -0,0 +1 @@ +4 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/dr= awer_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology= /drawer_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/drawer_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/dr= awer_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/top= ology/drawer_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/drawer_si= blings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/ph= ysical_package_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topo= logy/physical_package_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/physical_= package_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/th= read_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology= /thread_siblings new file mode 100644 index 00000000..b0f137de --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/thread_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000c diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/th= read_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/top= ology/thread_siblings_list new file mode 100644 index 00000000..7a985754 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu2/topology/thread_si= blings_list @@ -0,0 +1 @@ +2-3 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/online b/te= sts/virhostcpudata/linux-with-frequency/cpu/cpu3/online new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/online @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/bo= ok_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/book_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/book_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/bo= ok_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/b= ook_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/book_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/bo= ok_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topol= ogy/book_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/book_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/co= re_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/core_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/core_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/co= re_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/c= ore_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/core_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/co= re_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topol= ogy/core_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/core_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/dr= awer_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/drawe= r_id new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/drawer_id @@ -0,0 +1 @@ +4 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/dr= awer_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology= /drawer_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/drawer_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/dr= awer_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/top= ology/drawer_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/drawer_si= blings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/ph= ysical_package_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topo= logy/physical_package_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/physical_= package_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/th= read_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology= /thread_siblings new file mode 100644 index 00000000..b0f137de --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/thread_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000c diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/th= read_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/top= ology/thread_siblings_list new file mode 100644 index 00000000..7a985754 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu3/topology/thread_si= blings_list @@ -0,0 +1 @@ +2-3 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/online b/te= sts/virhostcpudata/linux-with-frequency/cpu/cpu4/online new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/online @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/bo= ok_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/book_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/book_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/bo= ok_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/b= ook_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/book_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/bo= ok_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topol= ogy/book_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/book_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/co= re_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/core_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/core_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/co= re_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/c= ore_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/core_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/co= re_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topol= ogy/core_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/core_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/dr= awer_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/drawe= r_id new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/drawer_id @@ -0,0 +1 @@ +4 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/dr= awer_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology= /drawer_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/drawer_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/dr= awer_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/top= ology/drawer_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/drawer_si= blings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/ph= ysical_package_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topo= logy/physical_package_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/physical_= package_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/th= read_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology= /thread_siblings new file mode 100644 index 00000000..294472bc --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/thread_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000030 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/th= read_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/top= ology/thread_siblings_list new file mode 100644 index 00000000..e66d883a --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu4/topology/thread_si= blings_list @@ -0,0 +1 @@ +4-5 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/online b/te= sts/virhostcpudata/linux-with-frequency/cpu/cpu5/online new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/online @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/bo= ok_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/book_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/book_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/bo= ok_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/b= ook_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/book_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/bo= ok_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topol= ogy/book_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/book_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/co= re_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/core_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/core_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/co= re_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/c= ore_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/core_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/co= re_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topol= ogy/core_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/core_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/dr= awer_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/drawe= r_id new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/drawer_id @@ -0,0 +1 @@ +4 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/dr= awer_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology= /drawer_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/drawer_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/dr= awer_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/top= ology/drawer_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/drawer_si= blings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/ph= ysical_package_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topo= logy/physical_package_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/physical_= package_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/th= read_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology= /thread_siblings new file mode 100644 index 00000000..294472bc --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/thread_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000030 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/th= read_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/top= ology/thread_siblings_list new file mode 100644 index 00000000..e66d883a --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu5/topology/thread_si= blings_list @@ -0,0 +1 @@ +4-5 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/online b/te= sts/virhostcpudata/linux-with-frequency/cpu/cpu6/online new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/online @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/bo= ok_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/book_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/book_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/bo= ok_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/b= ook_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/book_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/bo= ok_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topol= ogy/book_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/book_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/co= re_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/core_id new file mode 100644 index 00000000..00750edc --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/core_id @@ -0,0 +1 @@ +3 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/co= re_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/c= ore_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/core_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/co= re_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topol= ogy/core_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/core_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/dr= awer_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/drawe= r_id new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/drawer_id @@ -0,0 +1 @@ +4 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/dr= awer_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology= /drawer_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/drawer_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/dr= awer_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/top= ology/drawer_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/drawer_si= blings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/ph= ysical_package_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topo= logy/physical_package_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/physical_= package_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/th= read_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology= /thread_siblings new file mode 100644 index 00000000..c885e37d --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/thread_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000c0 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/th= read_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/top= ology/thread_siblings_list new file mode 100644 index 00000000..fdd9f375 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu6/topology/thread_si= blings_list @@ -0,0 +1 @@ +6-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/online b/te= sts/virhostcpudata/linux-with-frequency/cpu/cpu7/online new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/online @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/bo= ok_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/book_id new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/book_id @@ -0,0 +1 @@ +1 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/bo= ok_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/b= ook_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/book_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/bo= ok_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topol= ogy/book_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/book_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/co= re_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/core_id new file mode 100644 index 00000000..00750edc --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/core_id @@ -0,0 +1 @@ +3 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/co= re_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/c= ore_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/core_sibl= ings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/co= re_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topol= ogy/core_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/core_sibl= ings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/dr= awer_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/drawe= r_id new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/drawer_id @@ -0,0 +1 @@ +4 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/dr= awer_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology= /drawer_siblings new file mode 100644 index 00000000..be630d4c --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/drawer_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/dr= awer_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/top= ology/drawer_siblings_list new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/drawer_si= blings_list @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/ph= ysical_package_id b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topo= logy/physical_package_id new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/physical_= package_id @@ -0,0 +1 @@ +2 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/th= read_siblings b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology= /thread_siblings new file mode 100644 index 00000000..c885e37d --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/thread_si= blings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000c0 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/th= read_siblings_list b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/top= ology/thread_siblings_list new file mode 100644 index 00000000..fdd9f375 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/cpu7/topology/thread_si= blings_list @@ -0,0 +1 @@ +6-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/online b/tests/v= irhostcpudata/linux-with-frequency/cpu/online new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/online @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcpudata/linux-with-frequency/cpu/present b/tests/= virhostcpudata/linux-with-frequency/cpu/present new file mode 100644 index 00000000..74fc2fb6 --- /dev/null +++ b/tests/virhostcpudata/linux-with-frequency/cpu/present @@ -0,0 +1 @@ +0-7 diff --git a/tests/virhostcputest.c b/tests/virhostcputest.c index d3ee1846..cb318df6 100644 --- a/tests/virhostcputest.c +++ b/tests/virhostcputest.c @@ -247,6 +247,7 @@ mymain(void) {"subcores2", VIR_ARCH_PPC64}, /* subcores, invalid configuration */ {"subcores3", VIR_ARCH_PPC64}, + {"with-frequency", VIR_ARCH_S390X}, }; =20 if (virInitialize() < 0) --=20 2.13.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 02:24:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1513678169829342.14951463406294; Tue, 19 Dec 2017 02:09:29 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D79DB80462; Tue, 19 Dec 2017 10:09:27 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B393860BF3; Tue, 19 Dec 2017 10:09:27 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7C47A180121A; Tue, 19 Dec 2017 10:09:27 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id vBJA8Oe8029151 for ; Tue, 19 Dec 2017 05:08:24 -0500 Received: by smtp.corp.redhat.com (Postfix) id F39681853C; Tue, 19 Dec 2017 10:08:23 +0000 (UTC) Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EC57C18537 for ; Tue, 19 Dec 2017 10:08:21 +0000 (UTC) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AB5667E425 for ; Tue, 19 Dec 2017 10:08:20 +0000 (UTC) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vBJA895g031985 for ; Tue, 19 Dec 2017 05:08:20 -0500 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0b-001b2d01.pphosted.com with ESMTP id 2ey02pj0s2-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 19 Dec 2017 05:08:18 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Dec 2017 10:08:11 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 19 Dec 2017 10:08:09 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vBJA88H947710286; Tue, 19 Dec 2017 10:08:08 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 482BF5204E; Tue, 19 Dec 2017 09:01:08 +0000 (GMT) Received: from s38lp19.boeblingen.de.ibm.com (unknown [9.152.161.19]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 1DC6E5204C; Tue, 19 Dec 2017 09:01:08 +0000 (GMT) From: Bjoern Walk To: libvir-list@redhat.com Date: Tue, 19 Dec 2017 11:08:02 +0100 In-Reply-To: <20171219100802.254672-1-bwalk@linux.vnet.ibm.com> References: <20171219100802.254672-1-bwalk@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 17121910-0016-0000-0000-0000050EAFB2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17121910-0017-0000-0000-0000284AD6C5 Message-Id: <20171219100802.254672-4-bwalk@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-12-19_06:, , 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=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712190147 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 207 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 19 Dec 2017 10:08:20 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 19 Dec 2017 10:08:20 +0000 (UTC) for IP:'148.163.158.5' DOMAIN:'mx0b-001b2d01.pphosted.com' HELO:'mx0a-001b2d01.pphosted.com' FROM:'bwalk@linux.vnet.ibm.com' RCPT:'' X-RedHat-Spam-Score: -0.701 (RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2) 148.163.158.5 mx0b-001b2d01.pphosted.com 148.163.158.5 mx0b-001b2d01.pphosted.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.27 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: Bjoern Walk Subject: [libvirt] [PATCH 3/3] util: virsysinfo: parse frequency information on S390 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 19 Dec 2017 10:09:28 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Let's also parse the available processor frequency information on S390 so that it can be utilized by virsh sysinfo: # virsh sysinfo ... 2964 IBM/S390 00 5000 5000 145F07 ... Reviewed-by: Marc Hartmayer Reviewed-by: Boris Fiuczynski Signed-off-by: Bjoern Walk --- src/util/virsysinfo.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/util/virsysinfo.c b/src/util/virsysinfo.c index ab81b1f7..0c2267e3 100644 --- a/src/util/virsysinfo.c +++ b/src/util/virsysinfo.c @@ -495,6 +495,7 @@ virSysinfoParseS390Processor(const char *base, virSysin= foDefPtr ret) char *tmp_base; char *manufacturer =3D NULL; char *procline =3D NULL; + char *ncpu =3D NULL; int result =3D -1; virSysinfoProcessorDefPtr processor; =20 @@ -524,11 +525,41 @@ virSysinfoParseS390Processor(const char *base, virSys= infoDefPtr ret) =20 VIR_FREE(procline); } + + /* now, for each processor found, extract the frequency information */ + tmp_base =3D (char *) base; + + while ((tmp_base =3D strstr(tmp_base, "cpu number")) && + (tmp_base =3D virSysinfoParseS390Line(tmp_base, "cpu number", &= ncpu))) { + unsigned int n; + char *mhz =3D NULL; + + if (virStrToLong_ui(ncpu, NULL, 10, &n) < 0 || n >=3D ret->nproces= sor) + goto cleanup; + + if (!(tmp_base =3D strstr(tmp_base, "cpu MHz dynamic")) || + !virSysinfoParseS390Line(tmp_base, "cpu MHz dynamic", &mhz) || + !mhz) + goto cleanup; + + ret->processor[n].processor_external_clock =3D mhz; + + if (!(tmp_base =3D strstr(tmp_base, "cpu MHz static")) || + !virSysinfoParseS390Line(tmp_base, "cpu MHz static", &mhz) || + !mhz) + goto cleanup; + + ret->processor[n].processor_max_speed =3D mhz; + + VIR_FREE(ncpu); + } + result =3D 0; =20 cleanup: VIR_FREE(manufacturer); VIR_FREE(procline); + VIR_FREE(ncpu); return result; } =20 --=20 2.13.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list