From nobody Mon May 6 12:08:39 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.zoho.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 14914031552521009.6054780720091; Wed, 5 Apr 2017 07:39:15 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C42E27AEAA; Wed, 5 Apr 2017 14:39: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 9CA4B78DE4; Wed, 5 Apr 2017 14:39:13 +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 331B918523C9; Wed, 5 Apr 2017 14:39:13 +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 v35EbAIu007218 for ; Wed, 5 Apr 2017 10:37:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4B1F7A4075; Wed, 5 Apr 2017 14:37:10 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9E4C0A408A; Wed, 5 Apr 2017 14:37:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C42E27AEAA Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C42E27AEAA From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:24 +0200 Message-Id: <0856ba7d4478c508e92ac2b28ceb54b76a0a0753.1491402571.git.mkletzan@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 01/12] conf: Fix possible memleak in capabilities 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 05 Apr 2017 14:39:14 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" If formatting NUMA topology fails, the function returns immediatelly, but the buffer structure allocated on the stack references lot of heap-allocated memory and that would get lost in such case. Signed-off-by: Martin Kletzander --- src/conf/capabilities.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c index 08907aced1b9..be95c50cfb67 100644 --- a/src/conf/capabilities.c +++ b/src/conf/capabilities.c @@ -955,7 +955,7 @@ virCapabilitiesFormatXML(virCapsPtr caps) if (caps->host.nnumaCell && virCapabilitiesFormatNUMATopology(&buf, caps->host.nnumaCell, caps->host.numaCell) < 0) - return NULL; + goto error; for (i =3D 0; i < caps->host.nsecModels; i++) { virBufferAddLit(&buf, "\n"); @@ -1072,6 +1072,10 @@ virCapabilitiesFormatXML(virCapsPtr caps) return NULL; return virBufferContentAndReset(&buf); + + error: + virBufferFreeAndReset(&buf); + return NULL; } /* get the maximum ID of cpus in the host */ --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403037537379.6807117448552; Wed, 5 Apr 2017 07:37:17 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9AAAFF44EA; Wed, 5 Apr 2017 14:37:15 +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 AF52F7BB48; Wed, 5 Apr 2017 14:37:14 +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 99B5E18523CC; Wed, 5 Apr 2017 14:37:13 +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 v35EbCqh007228 for ; Wed, 5 Apr 2017 10:37:12 -0400 Received: by smtp.corp.redhat.com (Postfix) id 77441A861A; Wed, 5 Apr 2017 14:37:12 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id A2F5DA408E; Wed, 5 Apr 2017 14:37:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9AAAFF44EA Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 9AAAFF44EA From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:25 +0200 Message-Id: <38ef302d5dad6efcd5ebb0a4a39efb18d8569551.1491402571.git.mkletzan@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 02/12] util: Fix virDirRead() description 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.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 05 Apr 2017 14:37:16 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Martin Kletzander --- src/util/virfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/virfile.c b/src/util/virfile.c index a91c2c349501..c0f448d3437d 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -2861,11 +2861,11 @@ virDirOpenQuiet(DIR **dirp, const char *name) /** * virDirRead: * @dirp: directory to read - * @end: output one entry + * @ent: output one entry * @name: if non-NULL, the name related to @dirp for use in error reporting * * Wrapper around readdir. Typical usage: - * struct dirent ent; + * struct dirent *ent; * int rc; * DIR *dir; * if (virDirOpen(&dir, name) < 0) --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403468013514.4132764405502; Wed, 5 Apr 2017 07:44:28 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A89E064D81; Wed, 5 Apr 2017 14:44:26 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5BE4077FE1; Wed, 5 Apr 2017 14:44:26 +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 CFEC64EBDA; Wed, 5 Apr 2017 14:44:25 +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 v35EbFSd007243 for ; Wed, 5 Apr 2017 10:37:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id A400FA4069; Wed, 5 Apr 2017 14:37:15 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 93525784C8; Wed, 5 Apr 2017 14:37:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A89E064D81 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com A89E064D81 From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:26 +0200 Message-Id: <1b729be6955e5a6d913fd0a1ff2c66cfdf3ff84c.1491402571.git.mkletzan@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 03/12] util: Add virStringTrimOptionalNewline 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.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 05 Apr 2017 14:44:27 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" And use it in virFileRead* Signed-off-by: Martin Kletzander --- src/util/virfile.c | 18 +++++++----------- src/util/virhostcpu.c | 4 ++-- src/util/virstring.h | 8 ++++++++ src/util/virsysfs.c | 2 ++ 4 files changed, 19 insertions(+), 13 deletions(-) diff --git a/src/util/virfile.c b/src/util/virfile.c index c0f448d3437d..cbfa3849d793 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -3811,7 +3811,6 @@ int virFileReadValueInt(const char *path, int *value) { char *str =3D NULL; - char *endp =3D NULL; if (!virFileExists(path)) return -2; @@ -3819,8 +3818,9 @@ virFileReadValueInt(const char *path, int *value) if (virFileReadAll(path, INT_STRLEN_BOUND(*value), &str) < 0) return -1; - if (virStrToLong_i(str, &endp, 10, value) < 0 || - (endp && !c_isspace(*endp))) { + virStringTrimOptionalNewline(str); + + if (virStrToLong_i(str, NULL, 10, value) < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, _("Invalid integer value '%s' in file '%s'"), str, path); @@ -3847,7 +3847,6 @@ int virFileReadValueUint(const char *path, unsigned int *value) { char *str =3D NULL; - char *endp =3D NULL; if (!virFileExists(path)) return -2; @@ -3855,8 +3854,9 @@ virFileReadValueUint(const char *path, unsigned int *= value) if (virFileReadAll(path, INT_STRLEN_BOUND(*value), &str) < 0) return -1; - if (virStrToLong_uip(str, &endp, 10, value) < 0 || - (endp && !c_isspace(*endp))) { + virStringTrimOptionalNewline(str); + + if (virStrToLong_uip(str, NULL, 10, value)) { virReportError(VIR_ERR_INTERNAL_ERROR, _("Invalid unsigned integer value '%s' in file '%s'= "), str, path); @@ -3886,7 +3886,6 @@ virFileReadValueBitmap(const char *path, { char *buf =3D NULL; int ret =3D -1; - char *tmp =3D NULL; if (!virFileExists(path)) return -2; @@ -3894,10 +3893,7 @@ virFileReadValueBitmap(const char *path, if (virFileReadAll(path, maxlen, &buf) < 0) goto cleanup; - /* trim optinoal newline at the end */ - tmp =3D buf + strlen(buf) - 1; - if (*tmp =3D=3D '\n') - *tmp =3D '\0'; + virStringTrimOptionalNewline(buf); *value =3D virBitmapParseUnlimited(buf); if (!*value) diff --git a/src/util/virhostcpu.c b/src/util/virhostcpu.c index 02b9fc8eb94f..a660e3f4dbe5 100644 --- a/src/util/virhostcpu.c +++ b/src/util/virhostcpu.c @@ -847,13 +847,13 @@ virHostCPUParseCountLinux(void) tmp =3D str; do { if (virStrToLong_i(tmp, &tmp, 10, &ret) < 0 || - !strchr(",-\n", *tmp)) { + !strchr(",-", *tmp)) { virReportError(VIR_ERR_NO_SUPPORT, _("failed to parse %s"), str); ret =3D -1; goto cleanup; } - } while (*tmp++ !=3D '\n'); + } while (*tmp++ && *tmp); ret++; cleanup: diff --git a/src/util/virstring.h b/src/util/virstring.h index a5550e30d2e2..603650aa1588 100644 --- a/src/util/virstring.h +++ b/src/util/virstring.h @@ -288,4 +288,12 @@ bool virStringBufferIsPrintable(const uint8_t *buf, si= ze_t buflen); char *virStringEncodeBase64(const uint8_t *buf, size_t buflen); +static inline void +virStringTrimOptionalNewline(char *str) +{ + char *tmp =3D str + strlen(str) - 1; + if (*tmp =3D=3D '\n') + *tmp =3D '\0'; +} + #endif /* __VIR_STRING_H__ */ diff --git a/src/util/virsysfs.c b/src/util/virsysfs.c index 7a98b488e0ff..6df45a0e36d9 100644 --- a/src/util/virsysfs.c +++ b/src/util/virsysfs.c @@ -89,6 +89,8 @@ virSysfsGetValueString(const char *file, if (virFileReadAll(path, VIR_SYSFS_VALUE_MAXLEN, value) < 0) goto cleanup; + virStringTrimOptionalNewline(*value); + ret =3D 0; cleanup: VIR_FREE(path); --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403473220580.3157947190714; Wed, 5 Apr 2017 07:44:33 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BC63C61D37; Wed, 5 Apr 2017 14:44:31 +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 7F430A4069; Wed, 5 Apr 2017 14:44:31 +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 3336918521CA; Wed, 5 Apr 2017 14:44:31 +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 v35EbIPX007253 for ; Wed, 5 Apr 2017 10:37:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id C86CA78DE4; Wed, 5 Apr 2017 14:37:18 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id AC224784C8; Wed, 5 Apr 2017 14:37:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BC63C61D37 Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com BC63C61D37 From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:27 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 04/12] tests: Add virfilemock -- the new super mock 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 05 Apr 2017 14:44:32 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This mock (which is actually not mock at all, see later) can redirect all accesses to a path into another path. There is no need to create mocks for particular directories, you just create a directory with all the data a redirect the test there. In the future, this should also be able to register callbacks for calls/paths, e.g. when the test is going to write into anything under "/sys/devices", call function fce(); Then in the open() call we would add information about the fd into some structure and in write() we would call fce() with parameters like @path to write to, @data to be written and pointer to optional return value, so that fce() itself could stop the call from happening or change its behaviour. But that's an idea for a latter day. This is not a mock because it will not be preloaded, but compiled in the test itself. See future patches for usage. Signed-off-by: Martin Kletzander --- cfg.mk | 2 +- tests/virfilemock.c | 281 ++++++++++++++++++++++++++++++++++++++++++++++++= ++++ tests/virfilemock.h | 31 ++++++ 3 files changed, 313 insertions(+), 1 deletion(-) create mode 100644 tests/virfilemock.c create mode 100644 tests/virfilemock.h diff --git a/cfg.mk b/cfg.mk index 89e03ca0e32c..52a684462457 100644 --- a/cfg.mk +++ b/cfg.mk @@ -1117,7 +1117,7 @@ exclude_file_name_regexp--sc_copyright_usage =3D \ ^COPYING(|\.LESSER)$$ exclude_file_name_regexp--sc_flags_usage =3D \ - ^(cfg\.mk|docs/|src/util/virnetdevtap\.c$$|tests/(vir(cgroup|pci|test|us= b)|nss|qemuxml2argv)mock\.c$$) + ^(cfg\.mk|docs/|src/util/virnetdevtap\.c$$|tests/(vir(cgroup|pci|test|us= b|file)|nss|qemuxml2argv)mock\.c$$) exclude_file_name_regexp--sc_libvirt_unmarked_diagnostics =3D \ ^(src/rpc/gendispatch\.pl$$|tests/) diff --git a/tests/virfilemock.c b/tests/virfilemock.c new file mode 100644 index 000000000000..b199a64188a1 --- /dev/null +++ b/tests/virfilemock.c @@ -0,0 +1,281 @@ +/* + * virfilemock.c: Mock for universal file access mocking + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see + * . + */ + +#include + +#include "virmock.h" +#include "virfilemock.h" + +#include +#include +#include +#include +#include +#include +#include + +#include "viralloc.h" +#include "virstring.h" +#include "virfile.h" + + +/* Mapping for prefix overrides */ +static size_t noverrides; +static const char **overrides; + +/* nprefixes =3D=3D noverrides, but two variables make it easier to use + * VIR_*_ELEMENT macros */ +static size_t nprefixes; +static const char **prefixes; + +/* TODO: callbacks */ + + +static int (*real_open)(const char *path, int flags, ...); +static FILE *(*real_fopen)(const char *path, const char *mode); +static int (*real_access)(const char *path, int mode); +static int (*real_stat)(const char *path, struct stat *sb); +static int (*real___xstat)(int ver, const char *path, struct stat *sb); +static int (*real_lstat)(const char *path, struct stat *sb); +static int (*real___lxstat)(int ver, const char *path, struct stat *sb); +static int (*real_mkdir)(const char *path, mode_t mode); +static DIR *(*real_opendir)(const char *path); + +static void init_syms(void) +{ + if (real_fopen) + return; + + VIR_MOCK_REAL_INIT(fopen); + VIR_MOCK_REAL_INIT(access); + VIR_MOCK_REAL_INIT_ALT(lstat, __lxstat); + VIR_MOCK_REAL_INIT_ALT(stat, __xstat); + VIR_MOCK_REAL_INIT(mkdir); + VIR_MOCK_REAL_INIT(open); + VIR_MOCK_REAL_INIT(opendir); +} + + +int +virFileMockAddPrefix(const char *prefix, + const char *override) +{ + /* Both parameters are mandatory */ + if (!prefix || !override) + return -1; + + init_syms(); + + if (VIR_APPEND_ELEMENT_QUIET(prefixes, nprefixes, prefix) < 0 || + VIR_APPEND_ELEMENT_QUIET(overrides, noverrides, override) < 0) { + VIR_FREE(prefixes); + VIR_FREE(overrides); + return -1; + } + + return 0; +} + + +void +virFileMockRemovePrefix(const char *prefix) +{ + size_t i =3D 0; + + for (i =3D 0; i < noverrides; i++) { + if (STREQ(prefixes[i], prefix)) + break; + } + + if (i =3D=3D noverrides) + return; + + VIR_DELETE_ELEMENT(overrides, i, noverrides); + VIR_DELETE_ELEMENT(prefixes, i, nprefixes); +} + +void +virFileMockClearPrefixes(void) +{ + nprefixes =3D 0; + noverrides =3D 0; + + VIR_FREE(prefixes); + VIR_FREE(overrides); +} + +static char * +virFileMockOverridePrefix(const char *path) +{ + char *ret =3D NULL; + size_t i =3D 0; + + for (i =3D 0; i < noverrides; i++) { + const char *tmp =3D STRSKIP(path, prefixes[i]); + + if (!tmp) + continue; + + if (virAsprintfQuiet(&ret, "%s%s", overrides[i], tmp) < 0) + return NULL; + + break; + } + + if (!ret) + ignore_value(VIR_STRDUP_QUIET(ret, path)); + + return ret; +} + + +#define PATH_OVERRIDE(newpath, path) \ + do { \ + init_syms(); \ + \ + newpath =3D virFileMockOverridePrefix(path); \ + if (!newpath) \ + abort(); \ + } while (0) + + +FILE *fopen(const char *path, const char *mode) +{ + FILE *ret =3D NULL; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real_fopen(newpath, mode); + + VIR_FREE(newpath); + + return ret; +} + +int access(const char *path, int mode) +{ + int ret =3D -1; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real_access(newpath, mode); + + VIR_FREE(newpath); + + return ret; +} + +int __lxstat(int ver, const char *path, struct stat *sb) +{ + int ret =3D -1; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real___lxstat(ver, newpath, sb); + + VIR_FREE(newpath); + + return ret; +} + +int lstat(const char *path, struct stat *sb) +{ + int ret =3D -1; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real_lstat(newpath, sb); + + VIR_FREE(newpath); + + return ret; +} + +int __xstat(int ver, const char *path, struct stat *sb) +{ + int ret =3D -1; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real___xstat(ver, newpath, sb); + + VIR_FREE(newpath); + + return ret; +} + +int stat(const char *path, struct stat *sb) +{ + int ret =3D -1; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real_stat(newpath, sb); + + VIR_FREE(newpath); + + return ret; +} + +int mkdir(const char *path, mode_t mode) +{ + int ret =3D -1; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real_mkdir(newpath, mode); + + VIR_FREE(newpath); + + return ret; +} + +int open(const char *path, int flags, ...) +{ + int ret =3D -1; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real_open(newpath, flags); + + VIR_FREE(newpath); + + return ret; +} + +DIR *opendir(const char *path) +{ + DIR *ret =3D NULL; + char *newpath =3D NULL; + + PATH_OVERRIDE(newpath, path); + + ret =3D real_opendir(newpath); + + VIR_FREE(newpath); + + return ret; +} diff --git a/tests/virfilemock.h b/tests/virfilemock.h new file mode 100644 index 000000000000..eeca7d8b125a --- /dev/null +++ b/tests/virfilemock.h @@ -0,0 +1,31 @@ +/* + * virfilemock.h: Mock for universal file access mocking + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see + * . + */ + +#ifndef __VIR_FILE_MOCK_H__ + +int +virFileMockAddPrefix(const char *prefix, + const char *override); + +void +virFileMockRemovePrefix(const char *prefix); + +void +virFileMockClearPrefixes(void); + +#endif /* __VIR_FILE_MOCK_H__ */ --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403476791174.38141312666653; Wed, 5 Apr 2017 07:44:36 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 36F45796F5; Wed, 5 Apr 2017 14:44:35 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 064B6A406C; Wed, 5 Apr 2017 14:44:35 +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 B4C825EC62; Wed, 5 Apr 2017 14:44:34 +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 v35EbJV7007261 for ; Wed, 5 Apr 2017 10:37:19 -0400 Received: by smtp.corp.redhat.com (Postfix) id DD7F5A4074; Wed, 5 Apr 2017 14:37:19 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3285FA4069; Wed, 5 Apr 2017 14:37:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 36F45796F5 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 36F45796F5 From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:28 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 05/12] util: Remove virsysfs and instead enhance virFileReadValue* functions 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 05 Apr 2017 14:44:36 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" It is no longer needed thanks to the great virfilemock.c. And this way we don't have to add a new set of functions for each prefixed path. While on that, add two functions that weren't there before, string and scaled integer reading ones. Also increase the length of the string being read by one to accompany for the optional newline at the end (i.e. change INT_STRLEN_BOUND to INT_BUFSIZE_BOUND). Signed-off-by: Martin Kletzander --- src/Makefile.am | 2 - src/conf/capabilities.c | 1 - src/libvirt_private.syms | 16 +--- src/util/virfile.c | 204 ++++++++++++++++++++++++++++++++++------- src/util/virfile.h | 14 ++- src/util/virhostcpu.c | 43 +++++---- src/util/virsysfs.c | 231 -------------------------------------------= ---- src/util/virsysfs.h | 70 -------------- src/util/virsysfspriv.h | 28 ------ tests/Makefile.am | 5 +- tests/vircaps2xmltest.c | 6 +- tests/virhostcputest.c | 8 +- tests/virnumamock.c | 15 +-- 13 files changed, 228 insertions(+), 415 deletions(-) delete mode 100644 src/util/virsysfs.c delete mode 100644 src/util/virsysfs.h delete mode 100644 src/util/virsysfspriv.h diff --git a/src/Makefile.am b/src/Makefile.am index 75e4344198c5..f04d262952e8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -174,7 +174,6 @@ UTIL_SOURCES =3D \ util/virstorageencryption.c util/virstorageencryption.h \ util/virstoragefile.c util/virstoragefile.h \ util/virstring.h util/virstring.c \ - util/virsysfs.c util/virsysfs.h util/virsysfspriv.h \ util/virsysinfo.c util/virsysinfo.h util/virsysinfopriv.h \ util/virsystemd.c util/virsystemd.h util/virsystemdpriv.h \ util/virthread.c util/virthread.h \ @@ -2586,7 +2585,6 @@ libvirt_setuid_rpc_client_la_SOURCES =3D \ util/virrandom.c \ util/virsocketaddr.c \ util/virstring.c \ - util/virsysfs.c \ util/virsystemd.c \ util/virtime.c \ util/virthread.c \ diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c index be95c50cfb67..7ed76e65b1a1 100644 --- a/src/conf/capabilities.c +++ b/src/conf/capabilities.c @@ -45,7 +45,6 @@ #include "virlog.h" #include "virnuma.h" #include "virstring.h" -#include "virsysfs.h" #include "virtypedparam.h" #include "viruuid.h" diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index 92083e54142d..d399e0dc063a 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -1632,6 +1632,8 @@ virFileReadLimFD; virFileReadLink; virFileReadValueBitmap; virFileReadValueInt; +virFileReadValueScaledInt; +virFileReadValueString; virFileReadValueUint; virFileRelLinkPointsTo; virFileRemove; @@ -2620,20 +2622,6 @@ virTrimSpaces; virVasprintfInternal; -# util/virsysfs.h -virSysfsGetCpuValueBitmap; -virSysfsGetCpuValueInt; -virSysfsGetCpuValueString; -virSysfsGetCpuValueUint; -virSysfsGetNodeValueBitmap; -virSysfsGetNodeValueString; -virSysfsGetSystemPath; -virSysfsGetValueBitmap; -virSysfsGetValueInt; -virSysfsGetValueString; -virSysfsSetSystemPath; - - # util/virsysinfo.h virSysinfoBaseBoardDefClear; virSysinfoBIOSDefFree; diff --git a/src/util/virfile.c b/src/util/virfile.c index cbfa3849d793..c594b5782800 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -3799,24 +3799,36 @@ virFileComparePaths(const char *p1, const char *p2) /** * virFileReadValueInt: - * @path: file to read from * @value: pointer to int to be filled in with the value + * @format, ...: file to read from * - * Read int from @path and put it into @value. + * Read int from @format and put it into @value. * * Return -2 for non-existing file, -1 on other errors and 0 if everything= went * fine. */ int -virFileReadValueInt(const char *path, int *value) +virFileReadValueInt(int *value, const char *format, ...) { + int ret =3D -1; char *str =3D NULL; + char *path =3D NULL; + va_list ap; - if (!virFileExists(path)) - return -2; + va_start(ap, format); + if (virVasprintf(&path, format, ap) < 0) { + va_end(ap); + goto cleanup; + } + va_end(ap); - if (virFileReadAll(path, INT_STRLEN_BOUND(*value), &str) < 0) - return -1; + if (!virFileExists(path)) { + ret =3D -2; + goto cleanup; + } + + if (virFileReadAll(path, INT_BUFSIZE_BOUND(*value), &str) < 0) + goto cleanup; virStringTrimOptionalNewline(str); @@ -3824,83 +3836,205 @@ virFileReadValueInt(const char *path, int *value) virReportError(VIR_ERR_INTERNAL_ERROR, _("Invalid integer value '%s' in file '%s'"), str, path); - return -1; + goto cleanup; } + ret =3D 0; + cleanup: + VIR_FREE(path); VIR_FREE(str); - - return 0; + return ret; } /** * virFileReadValueUint: - * @path: file to read from - * @value: pointer to unsigned int to be filled in with the value + * @value: pointer to int to be filled in with the value + * @format, ...: file to read from * - * Read int from @path and put it into @value. + * Read unsigned int from @format and put it into @value. * * Return -2 for non-existing file, -1 on other errors and 0 if everything= went * fine. */ int -virFileReadValueUint(const char *path, unsigned int *value) +virFileReadValueUint(unsigned int *value, const char *format, ...) { + int ret =3D -1; char *str =3D NULL; + char *path =3D NULL; + va_list ap; - if (!virFileExists(path)) - return -2; + va_start(ap, format); + if (virVasprintf(&path, format, ap) < 0) { + va_end(ap); + goto cleanup; + } + va_end(ap); - if (virFileReadAll(path, INT_STRLEN_BOUND(*value), &str) < 0) - return -1; + if (!virFileExists(path)) { + ret =3D -2; + goto cleanup; + } + + if (virFileReadAll(path, INT_BUFSIZE_BOUND(*value), &str) < 0) + goto cleanup; virStringTrimOptionalNewline(str); - if (virStrToLong_uip(str, NULL, 10, value)) { + if (virStrToLong_uip(str, NULL, 10, value) < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, _("Invalid unsigned integer value '%s' in file '%s'= "), str, path); - return -1; + goto cleanup; } + ret =3D 0; + cleanup: + VIR_FREE(path); VIR_FREE(str); + return ret; +} - return 0; + +/* Arbitrarily sized number, feel free to change, but the function should = be + * used for small, interface-like files, so it should not be huge (subject= ive) */ +#define VIR_FILE_READ_VALUE_STRING_MAX 4096 + +/** + * virFileReadValueScaledInt: + * @value: pointer to unsigned long long int to be filled in with the value + * @format, ...: file to read from + * + * Read unsigned scaled int from @format and put it into @value. + * + * Return -2 for non-existing file, -1 on other errors and 0 if everything= went + * fine. + */ +int +virFileReadValueScaledInt(unsigned long long *value, const char *format, .= ..) +{ + int ret =3D -1; + char *str =3D NULL; + char *endp =3D NULL; + char *path =3D NULL; + va_list ap; + + va_start(ap, format); + if (virVasprintf(&path, format, ap) < 0) { + va_end(ap); + goto cleanup; + } + va_end(ap); + + if (!virFileExists(path)) { + ret =3D -2; + goto cleanup; + } + + if (virFileReadAll(path, INT_BUFSIZE_BOUND(*value), &str) < 0) + goto cleanup; + + virStringTrimOptionalNewline(str); + + if (virStrToLong_ullp(str, &endp, 10, value) < 0) { + virReportError(VIR_ERR_INTERNAL_ERROR, + _("Invalid unsigned scaled integer value '%s' in fi= le '%s'"), + str, path); + goto cleanup; + } + + ret =3D virScaleInteger(value, endp, 1024, ULLONG_MAX); + cleanup: + VIR_FREE(path); + VIR_FREE(str); + return ret; } /** * virFileReadValueBitmap: - * @path: file to read from - * @value: double pointer to virBitmap to be allocated and filled in with = the - * value + * @value: pointer to virBitmapPtr to be allocated and filled in with the = value + * @format, ...: file to read from * - * Read int from @path and put it into @value. + * Read int from @format and put it into @value. * * Return -2 for non-existing file, -1 on other errors and 0 if everything= went * fine. */ int -virFileReadValueBitmap(const char *path, - int maxlen, - virBitmapPtr *value) +virFileReadValueBitmap(virBitmapPtr *value, const char *format, ...) { - char *buf =3D NULL; int ret =3D -1; + char *str =3D NULL; + char *path =3D NULL; + va_list ap; - if (!virFileExists(path)) - return -2; + va_start(ap, format); + if (virVasprintf(&path, format, ap) < 0) { + va_end(ap); + goto cleanup; + } + va_end(ap); - if (virFileReadAll(path, maxlen, &buf) < 0) + if (!virFileExists(path)) { + ret =3D -2; goto cleanup; + } - virStringTrimOptionalNewline(buf); + if (virFileReadAll(path, VIR_FILE_READ_VALUE_STRING_MAX, &str) < 0) + goto cleanup; - *value =3D virBitmapParseUnlimited(buf); + virStringTrimOptionalNewline(str); + + *value =3D virBitmapParseUnlimited(str); if (!*value) goto cleanup; ret =3D 0; cleanup: - VIR_FREE(buf); + VIR_FREE(path); + VIR_FREE(str); + return ret; +} + +/** + * virFileReadValueString: + * @value: pointer to char * to be allocated and filled in with the value + * @format, ...: file to read from + * + * Read string from @format and put it into @value. Don't get this mixed = with + * virFileReadAll(). This function is a wrapper over it with the behaviour + * aligned to other virFileReadValue* functions + * + * Return -2 for non-existing file, -1 on other errors and 0 if everything= went + * fine. + */ +int +virFileReadValueString(char **value, const char *format, ...) +{ + int ret =3D -1; + char *str =3D NULL; + char *path =3D NULL; + va_list ap; + + va_start(ap, format); + if (virVasprintf(&path, format, ap) < 0) { + va_end(ap); + goto cleanup; + } + va_end(ap); + + if (!virFileExists(path)) { + ret =3D -2; + goto cleanup; + } + + ret =3D virFileReadAll(path, VIR_FILE_READ_VALUE_STRING_MAX, value); + + if (*value) + virStringTrimOptionalNewline(*value); + cleanup: + VIR_FREE(path); + VIR_FREE(str); return ret; } diff --git a/src/util/virfile.h b/src/util/virfile.h index ba1c57c06a8e..6617b9e02407 100644 --- a/src/util/virfile.h +++ b/src/util/virfile.h @@ -336,8 +336,16 @@ int virFileCopyACLs(const char *src, int virFileComparePaths(const char *p1, const char *p2); -int virFileReadValueInt(const char *path, int *value); -int virFileReadValueUint(const char *path, unsigned int *value); -int virFileReadValueBitmap(const char *path, int maxlen, virBitmapPtr *val= ue); +int virFileReadValueInt(int *value, const char *format, ...) + ATTRIBUTE_FMT_PRINTF(2, 3); +int virFileReadValueUint(unsigned int *value, const char *format, ...) + ATTRIBUTE_FMT_PRINTF(2, 3); +int virFileReadValueBitmap(virBitmapPtr *value, const char *format, ...) + ATTRIBUTE_FMT_PRINTF(2, 3); +int virFileReadValueScaledInt(unsigned long long *value, const char *forma= t, ...) + ATTRIBUTE_FMT_PRINTF(2, 3); +int virFileReadValueString(char **value, const char *format, ...) + ATTRIBUTE_FMT_PRINTF(2, 3); + #endif /* __VIR_FILE_H */ diff --git a/src/util/virhostcpu.c b/src/util/virhostcpu.c index a660e3f4dbe5..fd1ac9b8030e 100644 --- a/src/util/virhostcpu.c +++ b/src/util/virhostcpu.c @@ -56,7 +56,6 @@ #include "virfile.h" #include "virtypedparam.h" #include "virstring.h" -#include "virsysfs.h" #include "virnuma.h" #include "virlog.h" @@ -192,6 +191,7 @@ virHostCPUGetStatsFreeBSD(int cpuNum, #ifdef __linux__ # define CPUINFO_PATH "/proc/cpuinfo" # define PROCSTAT_PATH "/proc/stat" +# define SYSFS_SYSTEM_PATH "/sys/devices/system" # define VIR_HOST_CPU_MASK_LEN 1024 # define LINUX_NB_CPU_STATS 4 @@ -205,7 +205,10 @@ virHostCPUCountThreadSiblings(unsigned int cpu) char *str =3D NULL; size_t i; - rv =3D virSysfsGetCpuValueString(cpu, "topology/thread_siblings", &str= ); + rv =3D virFileReadValueString(&str, + SYSFS_SYSTEM_PATH + "/cpu/cpu%u/topology/thread_siblings", + cpu); if (rv =3D=3D -2) { ret =3D 1; goto cleanup; @@ -227,9 +230,10 @@ int virHostCPUGetSocket(unsigned int cpu, unsigned int *socket) { int tmp; - int ret =3D virSysfsGetCpuValueInt(cpu, - "topology/physical_package_id", - &tmp); + int ret =3D virFileReadValueInt(&tmp, + SYSFS_SYSTEM_PATH + "/cpu/cpu%u/topology/physical_package_id= ", + cpu); /* If the file is not there, it's 0 */ if (ret =3D=3D -2) @@ -251,7 +255,10 @@ virHostCPUGetSocket(unsigned int cpu, unsigned int *so= cket) int virHostCPUGetCore(unsigned int cpu, unsigned int *core) { - int ret =3D virSysfsGetCpuValueUint(cpu, "topology/core_id", core); + int ret =3D virFileReadValueUint(core, + SYSFS_SYSTEM_PATH + "/cpu/cpu%u/topology/core_id", + cpu); /* If the file is not there, it's 0 */ if (ret =3D=3D -2) @@ -268,7 +275,10 @@ virHostCPUGetSiblingsList(unsigned int cpu) virBitmapPtr ret =3D NULL; int rv =3D -1; - rv =3D virSysfsGetCpuValueBitmap(cpu, "topology/thread_siblings_list",= &ret); + rv =3D virFileReadValueBitmap(&ret, + SYSFS_SYSTEM_PATH + "/cpu/cpu%u/topology/thread_siblings_list", + cpu); if (rv =3D=3D -2) { /* If the file doesn't exist, the threadis its only sibling */ ret =3D virBitmapNew(cpu + 1); @@ -615,7 +625,7 @@ virHostCPUGetInfoPopulateLinux(FILE *cpuinfo, /* OK, we've parsed clock speed out of /proc/cpuinfo. Get the * core, node, socket, thread and topology information from /sys */ - if (virAsprintf(&sysfs_nodedir, "%s/node", virSysfsGetSystemPath()) < = 0) + if (virAsprintf(&sysfs_nodedir, SYSFS_SYSTEM_PATH "/node") < 0) goto cleanup; if (virDirOpenQuiet(&nodedir, sysfs_nodedir) < 0) { @@ -659,8 +669,8 @@ virHostCPUGetInfoPopulateLinux(FILE *cpuinfo, (*nodes)++; - if (virAsprintf(&sysfs_cpudir, "%s/node/%s", - virSysfsGetSystemPath(), nodedirent->d_name) < 0) + if (virAsprintf(&sysfs_cpudir, SYSFS_SYSTEM_PATH "/node/%s", + nodedirent->d_name) < 0) goto cleanup; if ((nodecpus =3D virHostCPUParseNode(sysfs_cpudir, arch, @@ -694,7 +704,7 @@ virHostCPUGetInfoPopulateLinux(FILE *cpuinfo, fallback: VIR_FREE(sysfs_cpudir); - if (virAsprintf(&sysfs_cpudir, "%s/cpu", virSysfsGetSystemPath()) < 0) + if (virAsprintf(&sysfs_cpudir, SYSFS_SYSTEM_PATH "/cpu") < 0) goto cleanup; if ((nodecpus =3D virHostCPUParseNode(sysfs_cpudir, arch, @@ -841,7 +851,7 @@ virHostCPUParseCountLinux(void) char *tmp; int ret =3D -1; - if (virSysfsGetValueString("cpu/present", &str) < 0) + if (virFileReadValueString(&str, SYSFS_SYSTEM_PATH "/cpu/present") < 0) return -1; tmp =3D str; @@ -866,8 +876,9 @@ int virHostCPUGetOnline(unsigned int cpu, bool *online) { unsigned int tmp =3D 0; - int ret =3D virSysfsGetCpuValueUint(cpu, "online", &tmp); - + int ret =3D virFileReadValueUint(&tmp, + SYSFS_SYSTEM_PATH "/cpu/cpu%u/online", + cpu); /* If the file is not there, it's online (doesn't support offlining) */ if (ret =3D=3D -2) @@ -1032,7 +1043,7 @@ virHostCPUGetPresentBitmap(void) #ifdef __linux__ virBitmapPtr ret =3D NULL; - virSysfsGetValueBitmap("cpu/present", &ret); + virFileReadValueBitmap(&ret, SYSFS_SYSTEM_PATH "/cpu/present"); return ret; #else @@ -1048,7 +1059,7 @@ virHostCPUGetOnlineBitmap(void) #ifdef __linux__ virBitmapPtr ret =3D NULL; - virSysfsGetValueBitmap("cpu/online", &ret); + virFileReadValueBitmap(&ret, SYSFS_SYSTEM_PATH "/cpu/online"); return ret; #else diff --git a/src/util/virsysfs.c b/src/util/virsysfs.c deleted file mode 100644 index 6df45a0e36d9..000000000000 --- a/src/util/virsysfs.c +++ /dev/null @@ -1,231 +0,0 @@ -/* - * virsysfs.c: Helper functions for manipulating sysfs files - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see - * . - * - * Author: Martin Kletzander - */ - -#include - -#include "internal.h" - -#include "virsysfspriv.h" - -#include "viralloc.h" -#include "virfile.h" -#include "virlog.h" -#include "virstring.h" - -#define VIR_FROM_THIS VIR_FROM_NONE - -VIR_LOG_INIT("util.sysfs"); - - -#define VIR_SYSFS_VALUE_MAXLEN 8192 -#define SYSFS_SYSTEM_PATH "/sys/devices/system" - -static const char *sysfs_system_path =3D SYSFS_SYSTEM_PATH; - - -void virSysfsSetSystemPath(const char *path) -{ - if (path) - sysfs_system_path =3D path; - else - sysfs_system_path =3D SYSFS_SYSTEM_PATH; -} - - -const char * -virSysfsGetSystemPath(void) -{ - return sysfs_system_path; -} - -int -virSysfsGetValueInt(const char *file, - int *value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/%s", sysfs_system_path, file) < 0) - return -1; - - ret =3D virFileReadValueInt(path, value); - - VIR_FREE(path); - return ret; -} - -int -virSysfsGetValueString(const char *file, - char **value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/%s", sysfs_system_path, file) < 0) - return -1; - - if (!virFileExists(path)) { - ret =3D -2; - goto cleanup; - } - - if (virFileReadAll(path, VIR_SYSFS_VALUE_MAXLEN, value) < 0) - goto cleanup; - - virStringTrimOptionalNewline(*value); - - ret =3D 0; - cleanup: - VIR_FREE(path); - return ret; -} - -int -virSysfsGetValueBitmap(const char *file, - virBitmapPtr *value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/%s", sysfs_system_path, file) < 0) - return -1; - - ret =3D virFileReadValueBitmap(path, VIR_SYSFS_VALUE_MAXLEN, value); - VIR_FREE(path); - return ret; -} - -int -virSysfsGetCpuValueInt(unsigned int cpu, - const char *file, - int *value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/cpu/cpu%u/%s", sysfs_system_path, cpu, file= ) < 0) - return -1; - - ret =3D virFileReadValueInt(path, value); - - VIR_FREE(path); - return ret; -} - - -int -virSysfsGetCpuValueUint(unsigned int cpu, - const char *file, - unsigned int *value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/cpu/cpu%u/%s", sysfs_system_path, cpu, file= ) < 0) - return -1; - - ret =3D virFileReadValueUint(path, value); - - VIR_FREE(path); - return ret; -} - - -int -virSysfsGetCpuValueString(unsigned int cpu, - const char *file, - char **value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/cpu/cpu%u/%s", sysfs_system_path, cpu, file= ) < 0) - return -1; - - if (!virFileExists(path)) { - ret =3D -2; - goto cleanup; - } - - if (virFileReadAll(path, VIR_SYSFS_VALUE_MAXLEN, value) < 0) - goto cleanup; - - ret =3D 0; - cleanup: - VIR_FREE(path); - return ret; -} - -int -virSysfsGetCpuValueBitmap(unsigned int cpu, - const char *file, - virBitmapPtr *value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/cpu/cpu%u/%s", sysfs_system_path, cpu, file= ) < 0) - return -1; - - ret =3D virFileReadValueBitmap(path, VIR_SYSFS_VALUE_MAXLEN, value); - VIR_FREE(path); - return ret; -} - -int -virSysfsGetNodeValueString(unsigned int node, - const char *file, - char **value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/node/node%u/%s", sysfs_system_path, node, f= ile) < 0) - return -1; - - if (!virFileExists(path)) { - ret =3D -2; - goto cleanup; - } - - if (virFileReadAll(path, VIR_SYSFS_VALUE_MAXLEN, value) < 0) - goto cleanup; - - ret =3D 0; - cleanup: - VIR_FREE(path); - return ret; -} - -int -virSysfsGetNodeValueBitmap(unsigned int node, - const char *file, - virBitmapPtr *value) -{ - char *path =3D NULL; - int ret =3D -1; - - if (virAsprintf(&path, "%s/node/node%u/%s", sysfs_system_path, node, f= ile) < 0) - return -1; - - ret =3D virFileReadValueBitmap(path, VIR_SYSFS_VALUE_MAXLEN, value); - VIR_FREE(path); - return ret; -} diff --git a/src/util/virsysfs.h b/src/util/virsysfs.h deleted file mode 100644 index cd871ff11dd1..000000000000 --- a/src/util/virsysfs.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * virsysfs.h: Helper functions for manipulating sysfs files - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see - * . - * - * Author: Martin Kletzander - */ - -#ifndef __VIR_SYSFS_H__ -# define __VIR_SYSFS_H__ - -# include "internal.h" -# include "virbitmap.h" - -const char * virSysfsGetSystemPath(void); - -int -virSysfsGetValueInt(const char *file, - int *value); - -int -virSysfsGetValueString(const char *file, - char **value); - -int -virSysfsGetValueBitmap(const char *file, - virBitmapPtr *value); - -int -virSysfsGetCpuValueInt(unsigned int cpu, - const char *file, - int *value); -int -virSysfsGetCpuValueUint(unsigned int cpu, - const char *file, - unsigned int *value); - -int -virSysfsGetCpuValueString(unsigned int cpu, - const char *file, - char **value); - -int -virSysfsGetCpuValueBitmap(unsigned int cpu, - const char *file, - virBitmapPtr *value); - -int -virSysfsGetNodeValueString(unsigned int node, - const char *file, - char **value); - -int -virSysfsGetNodeValueBitmap(unsigned int cpu, - const char *file, - virBitmapPtr *value); - -#endif /* __VIR_SYSFS_H__*/ diff --git a/src/util/virsysfspriv.h b/src/util/virsysfspriv.h deleted file mode 100644 index ae9f54a40c2a..000000000000 --- a/src/util/virsysfspriv.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * virsysfspriv.h: Helper functions for manipulating sysfs files - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see - * . - * - * Author: Martin Kletzander - */ - -#ifndef __VIR_SYSFS_PRIV_H__ -# define __VIR_SYSFS_PRIV_H__ - -# include "virsysfs.h" - -void virSysfsSetSystemPath(const char *path); - -#endif /* __VIR_SYSFS_PRIV_H__*/ diff --git a/tests/Makefile.am b/tests/Makefile.am index aa9d2eb3a343..f6306a3c1416 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -928,7 +928,7 @@ virconftest_SOURCES =3D \ virconftest_LDADD =3D $(LDADDS) virhostcputest_SOURCES =3D \ - virhostcputest.c testutils.h testutils.c + virhostcputest.c testutils.h testutils.c virfilemock.c virhostcputest_LDADD =3D $(LDADDS) commandtest_SOURCES =3D \ @@ -1145,7 +1145,7 @@ virhostcpumock_la_LIBADD =3D $(MOCKLIBS_LIBS) if WITH_LINUX vircaps2xmltest_SOURCES =3D \ - vircaps2xmltest.c testutils.h testutils.c + vircaps2xmltest.c testutils.h testutils.c virfilemock.c vircaps2xmltest_LDADD =3D $(LDADDS) virnumamock_la_SOURCES =3D \ @@ -1153,6 +1153,7 @@ virnumamock_la_SOURCES =3D \ virnumamock_la_CFLAGS =3D $(AM_CFLAGS) virnumamock_la_LDFLAGS =3D $(MOCKLIBS_LDFLAGS) virnumamock_la_LIBADD =3D $(MOCKLIBS_LIBS) + else ! WITH_LINUX EXTRA_DIST +=3D vircaps2xmltest.c virnumamock.c endif ! WITH_LINUX diff --git a/tests/vircaps2xmltest.c b/tests/vircaps2xmltest.c index 670bb8c375b3..af422238520b 100644 --- a/tests/vircaps2xmltest.c +++ b/tests/vircaps2xmltest.c @@ -25,7 +25,7 @@ #include "testutils.h" #include "capabilities.h" #include "virbitmap.h" -#include "virsysfspriv.h" +#include "virfilemock.h" #define VIR_FROM_THIS VIR_FROM_NONE @@ -52,7 +52,7 @@ test_virCapabilities(const void *opaque) abs_srcdir, data->filename) < 0) goto cleanup; - virSysfsSetSystemPath(dir); + virFileMockAddPrefix("/sys/devices/system", dir); caps =3D virCapabilitiesNew(data->arch, data->offlineMigrate, data->li= veMigrate); if (!caps) @@ -61,7 +61,7 @@ test_virCapabilities(const void *opaque) if (virCapabilitiesInitNUMA(caps) < 0) goto cleanup; - virSysfsSetSystemPath(NULL); + virFileMockClearPrefixes(); if (!(capsXML =3D virCapabilitiesFormatXML(caps))) goto cleanup; diff --git a/tests/virhostcputest.c b/tests/virhostcputest.c index b415ec5f1b08..6372fefd6f94 100644 --- a/tests/virhostcputest.c +++ b/tests/virhostcputest.c @@ -8,12 +8,14 @@ #include "testutils.h" #include "internal.h" #include "virhostcpupriv.h" -#include "virsysfspriv.h" #include "virfile.h" #include "virstring.h" +#include "virfilemock.h" #define VIR_FROM_THIS VIR_FROM_NONE +#define SYSFS_SYSTEM_PATH "/sys/devices/system" + #if !(defined __linux__) int @@ -178,9 +180,9 @@ linuxTestHostCPU(const void *opaque) goto cleanup; } - virSysfsSetSystemPath(sysfs_prefix); + virFileMockAddPrefix(SYSFS_SYSTEM_PATH, sysfs_prefix); result =3D linuxTestCompareFiles(cpuinfo, data->arch, output); - virSysfsSetSystemPath(NULL); + virFileMockRemovePrefix(SYSFS_SYSTEM_PATH); cleanup: VIR_FREE(cpuinfo); diff --git a/tests/virnumamock.c b/tests/virnumamock.c index 210d15d6adf0..9c724536e85b 100644 --- a/tests/virnumamock.c +++ b/tests/virnumamock.c @@ -1,5 +1,5 @@ /* - * virnumamock.c: Mock some virNuma functions using virsysfs + * virnumamock.c: Mock some virNuma functions using sysfs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -24,10 +24,11 @@ #include "virfile.h" #include "viralloc.h" #include "virstring.h" -#include "virsysfspriv.h" #define VIR_FROM_THIS VIR_FROM_NONE +#define SYSFS_SYSTEM_PATH "/sys/devices/system" + static int numa_avail =3D -1; @@ -42,7 +43,7 @@ virNumaIsAvailable(void) if (numa_avail < 0) { char *sysfs_node_path =3D NULL; - if (virAsprintfQuiet(&sysfs_node_path, "%s/node", virSysfsGetSyste= mPath()) < 0) + if (virAsprintfQuiet(&sysfs_node_path, SYSFS_SYSTEM_PATH "/node") = < 0) return false; numa_avail =3D virFileExists(sysfs_node_path); @@ -68,7 +69,7 @@ virNumaGetMaxNode(void) int ret =3D -1; virBitmapPtr map =3D NULL; - if (virSysfsGetValueBitmap("node/online", &map) < 0) + if (virFileReadValueBitmap(&map, SYSFS_SYSTEM_PATH "/node/online") < 0) return -1; ret =3D virBitmapLastSetBit(map); @@ -82,7 +83,7 @@ virNumaNodeIsAvailable(int node) bool ret =3D false; virBitmapPtr map =3D NULL; - if (virSysfsGetValueBitmap("node/online", &map) < 0) + if (virFileReadValueBitmap(&map, SYSFS_SYSTEM_PATH "/node/online") < 0) return false; ret =3D virBitmapIsBitSet(map, node); @@ -117,7 +118,7 @@ virNumaGetDistances(int node ATTRIBUTE_UNUSED, } /* - * TODO: Adapt virNumaGetHugePageInfo{Path,Dir} to use virsysfs so that the + * TODO: Adapt virNumaGetHugePageInfo{Path,Dir} to use sysfs so that the * paths can be modified and this function can be thrown away and instead = we'd * have copied info from /sys (as we do with /sys/devices/system). */ @@ -177,7 +178,7 @@ virNumaGetNodeCPUs(int node, virBitmapPtr *cpus) int ret =3D -1; char *cpulist =3D NULL; - if (virSysfsGetNodeValueString(node, "cpulist", &cpulist) < 0) + if (virFileReadValueString(&cpulist, SYSFS_SYSTEM_PATH "/node/node%u/c= pulist", node) < 0) return -1; *cpus =3D virBitmapParseUnlimited(cpulist); --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403158823702.0421305013847; Wed, 5 Apr 2017 07:39:18 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6B22D3DBDF; Wed, 5 Apr 2017 14:39:17 +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 3C7F09B535; Wed, 5 Apr 2017 14:39:17 +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 E374C18523CF; Wed, 5 Apr 2017 14:39:16 +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 v35EbKds007270 for ; Wed, 5 Apr 2017 10:37:20 -0400 Received: by smtp.corp.redhat.com (Postfix) id D584078DE4; Wed, 5 Apr 2017 14:37:20 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 357C9A4067; Wed, 5 Apr 2017 14:37:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6B22D3DBDF Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 6B22D3DBDF From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:29 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 06/12] tests: Test vircaps2xmldata XMLs in virschematest 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.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 05 Apr 2017 14:39:18 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Martin Kletzander --- tests/virschematest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/virschematest.c b/tests/virschematest.c index 119d4ba395e2..ffed2175fd37 100644 --- a/tests/virschematest.c +++ b/tests/virschematest.c @@ -215,7 +215,8 @@ mymain(void) } = \ } while (0) - DO_TEST_DIR("capability.rng", "capabilityschemadata", "xencapsdata"); + DO_TEST_DIR("capability.rng", "capabilityschemadata", "xencapsdata", + "vircaps2xmldata"); DO_TEST_DIR("domain.rng", "domainschemadata", "qemuargv2xmldata", "qemuxml2argvdata", "sexpr2xmldata", "xmconfigdata", "xml2sexprdata", "qemuxml2xmloutdata", "lxcxml2xmldata", --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403481516187.7495081923414; Wed, 5 Apr 2017 07:44:41 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F39046330E; Wed, 5 Apr 2017 14:44:39 +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 CA3A391BBA; Wed, 5 Apr 2017 14:44:39 +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 7EF7918523CE; Wed, 5 Apr 2017 14:44:39 +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 v35EbMfe007281 for ; Wed, 5 Apr 2017 10:37:22 -0400 Received: by smtp.corp.redhat.com (Postfix) id 15D28A4069; Wed, 5 Apr 2017 14:37:22 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5AC50A4074; Wed, 5 Apr 2017 14:37:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com F39046330E Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com F39046330E From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:30 +0200 Message-Id: <06ada567f8bbe7bff19650142b9ff47fcc917edf.1491402571.git.mkletzan@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 07/12] tests: Add missing cache data for vircaps2xmltest 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.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 05 Apr 2017 14:44:40 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Commit a0fdd2f6f9a0cc77ae285c289e2c16d314b6a907 added some data from the system but forgot 3 files for each cache. Signed-off-by: Martin Kletzander --- tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/id | = 1 + tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/id | = 1 + tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/id | = 1 + tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/id | = 1 + tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/id | = 1 + tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/id | = 1 + tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/id | = 1 + tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/id | = 1 + .../vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_list | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_map | = 2 +- tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/id | = 1 + 80 files changed, 80 insertions(+), 48 deletions(-) create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index= 0/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index= 1/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index= 2/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index= 3/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index= 0/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index= 1/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index= 2/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index= 3/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index= 0/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index= 1/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index= 2/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index= 3/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index= 0/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index= 1/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index= 2/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index= 3/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index= 0/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index= 1/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index= 2/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index= 3/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index= 0/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index= 1/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index= 2/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index= 3/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index= 0/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index= 1/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index= 2/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index= 3/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index= 0/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index= 1/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index= 2/id create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index= 3/id diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/share= d_cpu_list index d41d18ba0096..8b0fab869c1d 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_l= ist @@ -1 +1 @@ -0,4 +0-1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared= _cpu_map index b4de39476753..75016ea36252 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_m= ap @@ -1 +1 @@ -11 +03 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/share= d_cpu_list index d41d18ba0096..8b0fab869c1d 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_l= ist @@ -1 +1 @@ -0,4 +0-1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared= _cpu_map index b4de39476753..75016ea36252 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_m= ap @@ -1 +1 @@ -11 +03 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/share= d_cpu_list index d41d18ba0096..8b0fab869c1d 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_l= ist @@ -1 +1 @@ -0,4 +0-1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared= _cpu_map index b4de39476753..75016ea36252 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_m= ap @@ -1 +1 @@ -11 +03 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/share= d_cpu_list index cf141eb99931..8b0fab869c1d 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_l= ist @@ -1 +1 @@ -1,5 +0-1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared= _cpu_map index 2bd5a0a98a36..75016ea36252 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_m= ap @@ -1 +1 @@ -22 +03 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/share= d_cpu_list index cf141eb99931..8b0fab869c1d 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_l= ist @@ -1 +1 @@ -1,5 +0-1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared= _cpu_map index 2bd5a0a98a36..75016ea36252 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_m= ap @@ -1 +1 @@ -22 +03 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/share= d_cpu_list index cf141eb99931..8b0fab869c1d 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_l= ist @@ -1 +1 @@ -1,5 +0-1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared= _cpu_map index 2bd5a0a98a36..75016ea36252 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_m= ap @@ -1 +1 @@ -22 +03 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/share= d_cpu_list index 62188ed84ff3..7a9857542a65 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_l= ist @@ -1 +1 @@ -2,6 +2-3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared= _cpu_map index c739b42c4d2c..8ac4b4ca54c5 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_m= ap @@ -1 +1 @@ -44 +0c diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/share= d_cpu_list index 62188ed84ff3..7a9857542a65 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_l= ist @@ -1 +1 @@ -2,6 +2-3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared= _cpu_map index c739b42c4d2c..8ac4b4ca54c5 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_m= ap @@ -1 +1 @@ -44 +0c diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/share= d_cpu_list index 62188ed84ff3..7a9857542a65 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_l= ist @@ -1 +1 @@ -2,6 +2-3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared= _cpu_map index c739b42c4d2c..8ac4b4ca54c5 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_m= ap @@ -1 +1 @@ -44 +0c diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/share= d_cpu_list index 62dcd5976571..7a9857542a65 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_l= ist @@ -1 +1 @@ -3,7 +2-3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared= _cpu_map index d22307c427b8..8ac4b4ca54c5 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_m= ap @@ -1 +1 @@ -88 +0c diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/share= d_cpu_list index 62dcd5976571..7a9857542a65 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_l= ist @@ -1 +1 @@ -3,7 +2-3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared= _cpu_map index d22307c427b8..8ac4b4ca54c5 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_m= ap @@ -1 +1 @@ -88 +0c diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/share= d_cpu_list index 62dcd5976571..7a9857542a65 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_l= ist @@ -1 +1 @@ -3,7 +2-3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared= _cpu_map index d22307c427b8..8ac4b4ca54c5 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_m= ap @@ -1 +1 @@ -88 +0c diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/share= d_cpu_list index d41d18ba0096..e66d883ade72 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_l= ist @@ -1 +1 @@ -0,4 +4-5 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared= _cpu_map index b4de39476753..64bb6b746dce 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_m= ap @@ -1 +1 @@ -11 +30 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/share= d_cpu_list index d41d18ba0096..e66d883ade72 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_l= ist @@ -1 +1 @@ -0,4 +4-5 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared= _cpu_map index b4de39476753..64bb6b746dce 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_m= ap @@ -1 +1 @@ -11 +30 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/share= d_cpu_list index d41d18ba0096..e66d883ade72 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_l= ist @@ -1 +1 @@ -0,4 +4-5 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared= _cpu_map index b4de39476753..64bb6b746dce 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_m= ap @@ -1 +1 @@ -11 +30 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/share= d_cpu_list index cf141eb99931..e66d883ade72 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_l= ist @@ -1 +1 @@ -1,5 +4-5 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared= _cpu_map index 2bd5a0a98a36..64bb6b746dce 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_m= ap @@ -1 +1 @@ -22 +30 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/share= d_cpu_list index cf141eb99931..e66d883ade72 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_l= ist @@ -1 +1 @@ -1,5 +4-5 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared= _cpu_map index 2bd5a0a98a36..64bb6b746dce 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_m= ap @@ -1 +1 @@ -22 +30 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/share= d_cpu_list index cf141eb99931..e66d883ade72 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_l= ist @@ -1 +1 @@ -1,5 +4-5 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared= _cpu_map index 2bd5a0a98a36..64bb6b746dce 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_m= ap @@ -1 +1 @@ -22 +30 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/share= d_cpu_list index 62188ed84ff3..fdd9f375177b 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_l= ist @@ -1 +1 @@ -2,6 +6-7 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared= _cpu_map index c739b42c4d2c..caecf05cdbb0 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_m= ap @@ -1 +1 @@ -44 +c0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/share= d_cpu_list index 62188ed84ff3..fdd9f375177b 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_l= ist @@ -1 +1 @@ -2,6 +6-7 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared= _cpu_map index c739b42c4d2c..caecf05cdbb0 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_m= ap @@ -1 +1 @@ -44 +c0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/share= d_cpu_list index 62188ed84ff3..fdd9f375177b 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_l= ist @@ -1 +1 @@ -2,6 +6-7 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared= _cpu_map index c739b42c4d2c..caecf05cdbb0 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_m= ap @@ -1 +1 @@ -44 +c0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/share= d_cpu_list index 62dcd5976571..fdd9f375177b 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_l= ist @@ -1 +1 @@ -3,7 +6-7 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared= _cpu_map index d22307c427b8..caecf05cdbb0 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_m= ap @@ -1 +1 @@ -88 +c0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/share= d_cpu_list index 62dcd5976571..fdd9f375177b 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_l= ist @@ -1 +1 @@ -3,7 +6-7 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared= _cpu_map index d22307c427b8..caecf05cdbb0 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_m= ap @@ -1 +1 @@ -88 +c0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/share= d_cpu_list b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/share= d_cpu_list index 62dcd5976571..fdd9f375177b 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_l= ist +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_l= ist @@ -1 +1 @@ -3,7 +6-7 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/share= d_cpu_map b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared= _cpu_map index d22307c427b8..caecf05cdbb0 100644 --- a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_m= ap +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_m= ap @@ -1 +1 @@ -88 +c0 diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/id b/= tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/id @@ -0,0 +1 @@ +0 --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 14914031230441019.678176234344; Wed, 5 Apr 2017 07:38:43 -0700 (PDT) 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 87FA37D0D7; Wed, 5 Apr 2017 14:38:41 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5BADE7EF4B; Wed, 5 Apr 2017 14:38:41 +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 171425EC65; Wed, 5 Apr 2017 14:38:41 +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 v35EbNfO007292 for ; Wed, 5 Apr 2017 10:37:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5043D784C8; Wed, 5 Apr 2017 14:37:23 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id A320A78DE4; Wed, 5 Apr 2017 14:37:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 87FA37D0D7 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 87FA37D0D7 From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:31 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 08/12] Add RNG schema for host cache information in capabilities 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.26]); Wed, 05 Apr 2017 14:38:42 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Martin Kletzander --- docs/schemas/capability.rng | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/docs/schemas/capability.rng b/docs/schemas/capability.rng index 88e08d299ac9..208095302a63 100644 --- a/docs/schemas/capability.rng +++ b/docs/schemas/capability.rng @@ -45,6 +45,9 @@ + + + @@ -248,6 +251,37 @@ + + + + + + + + + + + + + unified + instruction + data + + + + + + + + + + + + + + + + --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 14914031288601023.4535729418762; Wed, 5 Apr 2017 07:38:48 -0700 (PDT) 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 C190E81F07; Wed, 5 Apr 2017 14:38:45 +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 971A38B8BB; Wed, 5 Apr 2017 14:38:45 +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 4936518523CC; Wed, 5 Apr 2017 14:38:45 +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 v35EbQar007307 for ; Wed, 5 Apr 2017 10:37:26 -0400 Received: by smtp.corp.redhat.com (Postfix) id BB3C4A8618; Wed, 5 Apr 2017 14:37:26 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 151AFA4069; Wed, 5 Apr 2017 14:37:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C190E81F07 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C190E81F07 From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:32 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 09/12] Add host cache information into capabilities 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.26]); Wed, 05 Apr 2017 14:38:46 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Martin Kletzander --- I'm adding only info about L3 caches, we can add more later, but for now that's more than enough. src/conf/capabilities.c | 200 ++++++++++++++++++++= ++++ src/conf/capabilities.h | 29 ++++ src/libvirt_private.syms | 1 + tests/vircaps2xmldata/vircaps-x86_64-caches.xml | 3 + tests/vircaps2xmltest.c | 3 +- 5 files changed, 235 insertions(+), 1 deletion(-) diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c index 7ed76e65b1a1..416dd1a34aba 100644 --- a/src/conf/capabilities.c +++ b/src/conf/capabilities.c @@ -31,6 +31,7 @@ #include #include "capabilities.h" +#include "c-ctype.h" #include "count-one-bits.h" #include "cpu_conf.h" #include "domain_conf.h" @@ -50,6 +51,8 @@ #define VIR_FROM_THIS VIR_FROM_CAPABILITIES +#define SYSFS_SYSTEM_PATH "/sys/devices/system/" + VIR_LOG_INIT("conf.capabilities") VIR_ENUM_DECL(virCapsHostPMTarget) @@ -237,6 +240,10 @@ virCapabilitiesDispose(void *object) virCapabilitiesClearSecModel(&caps->host.secModels[i]); VIR_FREE(caps->host.secModels); + for (i =3D 0; i < caps->host.ncaches; i++) + virCapsHostCacheBankFree(caps->host.caches[i]); + VIR_FREE(caps->host.caches); + VIR_FREE(caps->host.netprefix); VIR_FREE(caps->host.pagesSize); virCPUDefFree(caps->host.cpu); @@ -860,6 +867,49 @@ virCapabilitiesFormatNUMATopology(virBufferPtr buf, return 0; } +static int +virCapabilitiesFormatCaches(virBufferPtr buf, + size_t ncaches, + virCapsHostCacheBankPtr *caches) +{ + size_t i =3D 0; + + if (!ncaches) + return 0; + + virBufferAddLit(buf, "\n"); + virBufferAdjustIndent(buf, 2); + + for (i =3D 0; i < ncaches; i++) { + virCapsHostCacheBankPtr bank =3D caches[i]; + char *cpus_str =3D virBitmapFormat(bank->cpus); + bool kilos =3D !(bank->size % 1024); + + if (!cpus_str) + return -1; + + /* + * Let's just *hope* the size is aligned to KiBs so that it does n= ot + * bite is back in the future + */ + virBufferAsprintf(buf, + "\n", + bank->id, bank->level, + virCacheTypeToString(bank->type), + bank->size >> (kilos * 10), + kilos ? "KiB" : "B", + cpus_str); + + VIR_FREE(cpus_str); + } + + virBufferAdjustIndent(buf, -2); + virBufferAddLit(buf, "\n"); + + return 0; +} + /** * virCapabilitiesFormatXML: * @caps: capabilities to format @@ -956,6 +1006,10 @@ virCapabilitiesFormatXML(virCapsPtr caps) caps->host.numaCell) < 0) goto error; + if (virCapabilitiesFormatCaches(&buf, caps->host.ncaches, + caps->host.caches) < 0) + goto error; + for (i =3D 0; i < caps->host.nsecModels; i++) { virBufferAddLit(&buf, "\n"); virBufferAdjustIndent(&buf, 2); @@ -1438,3 +1492,149 @@ virCapabilitiesInitPages(virCapsPtr caps) VIR_FREE(pages_size); return ret; } + + +VIR_ENUM_IMPL(virCache, VIR_CACHE_TYPE_LAST, + "unified", + "instruction", + "data") + +bool +virCapsHostCacheBankEquals(virCapsHostCacheBankPtr a, + virCapsHostCacheBankPtr b) +{ + return (a->id =3D=3D b->id && + a->level =3D=3D b->level && + a->type =3D=3D b->type && + a->size =3D=3D b->size && + virBitmapEqual(a->cpus, b->cpus)); +} + +void +virCapsHostCacheBankFree(virCapsHostCacheBankPtr ptr) +{ + if (!ptr) + return; + + virBitmapFree(ptr->cpus); + VIR_FREE(ptr); +} + +int +virCapabilitiesInitCaches(virCapsPtr caps) +{ + size_t i =3D 0; + virBitmapPtr cpus =3D NULL; + ssize_t pos =3D -1; + DIR *dirp =3D NULL; + int ret =3D -1; + char *path =3D NULL; + char *type =3D NULL; + struct dirent *ent =3D NULL; + virCapsHostCacheBankPtr bank =3D NULL; + + /* Minimum level to expose in capabilities. Can be lowered or removed= (with + * the appropriate code below), but should not be increased, because w= e'd + * lose information. */ + const int cache_min_level =3D 3; + + /* offline CPUs don't provide cache info */ + if (virFileReadValueBitmap(&cpus, SYSFS_SYSTEM_PATH "cpu/online") < 0) + return -1; + + while ((pos =3D virBitmapNextSetBit(cpus, pos)) >=3D 0) { + int rv =3D -1; + + VIR_FREE(path); + if (virAsprintf(&path, SYSFS_SYSTEM_PATH "cpu/cpu%zd/cache/", pos)= < 0) + goto cleanup; + + rv =3D virDirOpenIfExists(&dirp, path); + if (rv < 0) + goto cleanup; + + if (!dirp) + continue; + + while ((rv =3D virDirRead(dirp, &ent, path)) > 0) { + int tmp_i; + char *tmp_c; + + if (!STRPREFIX(ent->d_name, "index")) + continue; + + if (VIR_ALLOC(bank) < 0) + goto cleanup; + + if (virFileReadValueUint(&bank->id, + SYSFS_SYSTEM_PATH "cpu/cpu%zd/cache/%= s/id", + pos, ent->d_name) < 0) + goto cleanup; + + if (virFileReadValueUint(&bank->level, + SYSFS_SYSTEM_PATH + "cpu/cpu%zd/cache/%s/level", + pos, ent->d_name) < 0) + goto cleanup; + + if (virFileReadValueString(&type, + SYSFS_SYSTEM_PATH + "cpu/cpu%zd/cache/%s/type", + pos, ent->d_name) < 0) + goto cleanup; + + if (virFileReadValueScaledInt(&bank->size, + SYSFS_SYSTEM_PATH + "cpu/cpu%zd/cache/%s/size", + pos, ent->d_name) < 0) + goto cleanup; + + if (virFileReadValueBitmap(&bank->cpus, + SYSFS_SYSTEM_PATH + "cpu/cpu%zd/cache/%s/shared_cpu_lis= t", + pos, ent->d_name) < 0) + goto cleanup; + + if (bank->level < cache_min_level) { + virCapsHostCacheBankFree(bank); + bank =3D NULL; + continue; + } + + for (tmp_c =3D type; *tmp_c !=3D '\0'; tmp_c++) + *tmp_c =3D c_tolower(*tmp_c); + + tmp_i =3D virCacheTypeFromString(type); + if (tmp_i < 0) { + virReportError(VIR_ERR_INTERNAL_ERROR, + _("Unknown cache type '%s'"), type); + VIR_FREE(type); + goto cleanup; + } + bank->type =3D tmp_i; + + for (i =3D 0; i < caps->host.ncaches; i++) { + if (virCapsHostCacheBankEquals(bank, caps->host.caches[i])) + break; + } + if (i =3D=3D caps->host.ncaches) { + if (VIR_APPEND_ELEMENT(caps->host.caches, + caps->host.ncaches, + bank) < 0) { + goto cleanup; + } + } + + virCapsHostCacheBankFree(bank); + } + if (rv < 0) + goto cleanup; + } + + ret =3D 0; + cleanup: + VIR_FREE(path); + virDirClose(&dirp); + virCapsHostCacheBankFree(bank); + return ret; +} diff --git a/src/conf/capabilities.h b/src/conf/capabilities.h index d10eef3afdea..e099cccf6d39 100644 --- a/src/conf/capabilities.h +++ b/src/conf/capabilities.h @@ -138,6 +138,26 @@ struct _virCapsHostSecModel { virCapsHostSecModelLabelPtr labels; }; +typedef enum { + VIR_CACHE_TYPE_DATA, + VIR_CACHE_TYPE_INSTRUCTION, + VIR_CACHE_TYPE_UNIFIED, + + VIR_CACHE_TYPE_LAST +} virCacheType; + +VIR_ENUM_DECL(virCache); + +typedef struct _virCapsHostCacheBank virCapsHostCacheBank; +typedef virCapsHostCacheBank *virCapsHostCacheBankPtr; +struct _virCapsHostCacheBank { + unsigned int id; + unsigned int level; /* 1=3DL1, 2=3DL2, 3=3DL3, etc. */ + unsigned long long size; /* B */ + virCacheType type; /* Data, Instruction or Unified */ + virBitmapPtr cpus; /* All CPUs that share this bank */ +}; + typedef struct _virCapsHost virCapsHost; typedef virCapsHost *virCapsHostPtr; struct _virCapsHost { @@ -157,6 +177,9 @@ struct _virCapsHost { size_t nnumaCell_max; virCapsHostNUMACellPtr *numaCell; + size_t ncaches; + virCapsHostCacheBankPtr *caches; + size_t nsecModels; virCapsHostSecModelPtr secModels; @@ -303,4 +326,10 @@ int virCapabilitiesInitPages(virCapsPtr caps); int virCapabilitiesInitNUMA(virCapsPtr caps); +bool virCapsHostCacheBankEquals(virCapsHostCacheBankPtr a, + virCapsHostCacheBankPtr b); +void virCapsHostCacheBankFree(virCapsHostCacheBankPtr ptr); + +int virCapabilitiesInitCaches(virCapsPtr caps); + #endif /* __VIR_CAPABILITIES_H */ diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index d399e0dc063a..b175b3b02901 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -59,6 +59,7 @@ virCapabilitiesFreeNUMAInfo; virCapabilitiesGetCpusForNodemask; virCapabilitiesGetNodeInfo; virCapabilitiesHostSecModelAddBaseLabel; +virCapabilitiesInitCaches; virCapabilitiesInitNUMA; virCapabilitiesInitPages; virCapabilitiesNew; diff --git a/tests/vircaps2xmldata/vircaps-x86_64-caches.xml b/tests/vircap= s2xmldata/vircaps-x86_64-caches.xml index 88f2ec62277e..f2da28e576ac 100644 --- a/tests/vircaps2xmldata/vircaps-x86_64-caches.xml +++ b/tests/vircaps2xmldata/vircaps-x86_64-caches.xml @@ -28,6 +28,9 @@ + + + diff --git a/tests/vircaps2xmltest.c b/tests/vircaps2xmltest.c index af422238520b..8f02314afe8e 100644 --- a/tests/vircaps2xmltest.c +++ b/tests/vircaps2xmltest.c @@ -58,7 +58,8 @@ test_virCapabilities(const void *opaque) if (!caps) goto cleanup; - if (virCapabilitiesInitNUMA(caps) < 0) + if (virCapabilitiesInitNUMA(caps) < 0 || + virCapabilitiesInitCaches(caps) < 0) goto cleanup; virFileMockClearPrefixes(); -- 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403131017854.7773701076482; Wed, 5 Apr 2017 07:38:51 -0700 (PDT) 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 81B7BC04BD42; Wed, 5 Apr 2017 14:38:49 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5645B7EF5F; Wed, 5 Apr 2017 14:38:49 +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 00E2B5EC66; Wed, 5 Apr 2017 14:38:48 +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 v35EbRLc007315 for ; Wed, 5 Apr 2017 10:37:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id A4918A406A; Wed, 5 Apr 2017 14:37:27 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 05A2BA860A; Wed, 5 Apr 2017 14:37:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 81B7BC04BD42 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 81B7BC04BD42 From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:33 +0200 Message-Id: <719e9ba0cfffaf4946b5c90a37a76bd23127456d.1491402571.git.mkletzan@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 10/12] Init host cache info in drivers 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.31]); Wed, 05 Apr 2017 14:38:50 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Added only in drivers that were already calling virCapabilitiesInitNUMA(). Instead of refactoring all the callers to behave the same way in case of error, just follow what the callers are doing for all the functions. Signed-off-by: Martin Kletzander --- src/lxc/lxc_conf.c | 3 +++ src/openvz/openvz_conf.c | 3 +++ src/phyp/phyp_driver.c | 3 +++ src/qemu/qemu_capabilities.c | 3 +++ src/uml/uml_conf.c | 3 +++ src/vbox/vbox_common.c | 3 +++ src/vmware/vmware_conf.c | 3 +++ src/vz/vz_driver.c | 2 ++ 8 files changed, 23 insertions(+) diff --git a/src/lxc/lxc_conf.c b/src/lxc/lxc_conf.c index e47b667f582a..508b98ba21b3 100644 --- a/src/lxc/lxc_conf.c +++ b/src/lxc/lxc_conf.c @@ -81,6 +81,9 @@ virCapsPtr virLXCDriverCapsInit(virLXCDriverPtr driver) VIR_WARN("Failed to query host NUMA topology, disabling NUMA capab= ilities"); } + if (virCapabilitiesInitCaches(caps) < 0) + VIR_WARN("Failed to get host CPU cache info"); + /* Only probe for power management capabilities in the driver, * not in the emulator */ if (driver && virNodeSuspendGetTargetMask(&caps->host.powerMgmt) < 0) diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index 196fefb8de19..23a02d749e8b 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -168,6 +168,9 @@ virCapsPtr openvzCapsInit(void) if (virCapabilitiesInitNUMA(caps) < 0) goto no_memory; + if (virCapabilitiesInitCaches(caps) < 0) + goto no_memory; + if ((guest =3D virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_EXE, caps->host.arch, diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c index 2123784f70da..0cc288f36d8e 100644 --- a/src/phyp/phyp_driver.c +++ b/src/phyp/phyp_driver.c @@ -340,6 +340,9 @@ phypCapsInit(void) ("Failed to query host NUMA topology, disabling NUMA capabilit= ies"); } + if (virCapabilitiesInitCaches(caps) < 0) + VIR_WARN("Failed to get host CPU cache info"); + if ((guest =3D virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_LINUX, caps->host.arch, diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index a2f4f43e65bf..1a3072a5c834 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -1109,6 +1109,9 @@ virCapsPtr virQEMUCapsInit(virQEMUCapsCachePtr cache) VIR_WARN("Failed to query host NUMA topology, disabling NUMA capab= ilities"); } + if (virCapabilitiesInitCaches(caps) < 0) + VIR_WARN("Failed to get host CPU cache info"); + if (!(caps->host.cpu =3D virCPUProbeHost(caps->host.arch))) VIR_WARN("Failed to get host CPU"); diff --git a/src/uml/uml_conf.c b/src/uml/uml_conf.c index 871653c5a64c..2be849a6c160 100644 --- a/src/uml/uml_conf.c +++ b/src/uml/uml_conf.c @@ -69,6 +69,9 @@ virCapsPtr umlCapsInit(void) VIR_WARN("Failed to query host NUMA topology, disabling NUMA capab= ilities"); } + if (virCapabilitiesInitCaches(caps) < 0) + VIR_WARN("Failed to get host CPU cache info"); + if (virNodeSuspendGetTargetMask(&caps->host.powerMgmt) < 0) VIR_WARN("Failed to get host power management capabilities"); diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c index d2b36ac0dfed..d6d363e456a7 100644 --- a/src/vbox/vbox_common.c +++ b/src/vbox/vbox_common.c @@ -79,6 +79,9 @@ vboxCapsInit(void) if (virCapabilitiesInitNUMA(caps) < 0) goto no_memory; + if (virCapabilitiesInitCaches(caps) < 0) + goto no_memory; + if ((guest =3D virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_HVM, caps->host.arch, diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c index bf4597c4748a..891d9a47f0b4 100644 --- a/src/vmware/vmware_conf.c +++ b/src/vmware/vmware_conf.c @@ -68,6 +68,9 @@ vmwareCapsInit(void) if (virCapabilitiesInitNUMA(caps) < 0) goto error; + if (virCapabilitiesInitCaches(caps) < 0) + goto error; + /* i686 guests are always supported */ if ((guest =3D virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_HVM, diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c index da83a8ff5ca7..b567c0a56a8f 100644 --- a/src/vz/vz_driver.c +++ b/src/vz/vz_driver.c @@ -118,6 +118,8 @@ vzBuildCapabilities(void) if (virCapabilitiesInitNUMA(caps) < 0) goto error; + if (virCapabilitiesInitCaches(caps) < 0) + goto error; verify(ARRAY_CARDINALITY(archs) =3D=3D ARRAY_CARDINALITY(emulators)); --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403485112549.4935356492906; Wed, 5 Apr 2017 07:44:45 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A7AE9C04BD46; Wed, 5 Apr 2017 14:44:43 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7C38AA406A; Wed, 5 Apr 2017 14:44:43 +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 3213C5EC67; Wed, 5 Apr 2017 14:44:43 +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 v35EbTva007325 for ; Wed, 5 Apr 2017 10:37:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id 060689C975; Wed, 5 Apr 2017 14:37:29 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E5F7784C8; Wed, 5 Apr 2017 14:37:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A7AE9C04BD46 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com A7AE9C04BD46 From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:34 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 11/12] tests: Add support for more complicated hierarchies in vircaps2xmltest 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 05 Apr 2017 14:44:44 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" More directories will need to be mocked, so let's prepare for that. Signed-off-by: Martin Kletzander --- tests/vircaps2xmltest.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/tests/vircaps2xmltest.c b/tests/vircaps2xmltest.c index 8f02314afe8e..31d027979cab 100644 --- a/tests/vircaps2xmltest.c +++ b/tests/vircaps2xmltest.c @@ -35,6 +35,7 @@ struct virCapabilitiesData { virArch arch; bool offlineMigrate; bool liveMigrate; + bool resctrl; /* Whether both resctrl and system sysfs are used */ }; static int @@ -48,8 +49,13 @@ test_virCapabilities(const void *opaque) char *dir =3D NULL; int ret =3D -1; - if (virAsprintf(&dir, "%s/vircaps2xmldata/linux-%s", - abs_srcdir, data->filename) < 0) + /* + * We want to keep our directory structure clean, so if there's both r= esctrl + * and system used, we need to use slightly different path; a subdir. + */ + if (virAsprintf(&dir, "%s/vircaps2xmldata/linux-%s%s", + abs_srcdir, data->filename, + data->resctrl ? "/system" : "") < 0) goto cleanup; virFileMockAddPrefix("/sys/devices/system", dir); @@ -89,19 +95,19 @@ mymain(void) { int ret =3D 0; -#define DO_TEST_FULL(filename, arch, offlineMigrate, liveMigrate) \ +#define DO_TEST_FULL(filename, arch, offlineMigrate, liveMigrate, resctrl)= \ do { \ struct virCapabilitiesData data =3D {filename, arch, \ offlineMigrate, \ - liveMigrate}; \ + liveMigrate, resctrl}; \ if (virTestRun(filename, test_virCapabilities, &data) < 0) \ ret =3D -1; \ } while (0) -#define DO_TEST(filename, arch) DO_TEST_FULL(filename, arch, true, true) +#define DO_TEST(filename, arch) DO_TEST_FULL(filename, arch, true, true, f= alse) - DO_TEST_FULL("basic", VIR_ARCH_X86_64, false, false); - DO_TEST_FULL("basic", VIR_ARCH_AARCH64, true, false); + DO_TEST_FULL("basic", VIR_ARCH_X86_64, false, false, false); + DO_TEST_FULL("basic", VIR_ARCH_AARCH64, true, false, false); DO_TEST("caches", VIR_ARCH_X86_64); --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon May 6 12:08:39 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.zoho.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 1491403164878353.9079347339733; Wed, 5 Apr 2017 07:39:24 -0700 (PDT) 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 534FF7F7A7; Wed, 5 Apr 2017 14:39:23 +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 F08598B8BC; Wed, 5 Apr 2017 14:39:22 +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 97DFB18523D1; Wed, 5 Apr 2017 14:39:21 +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 v35EbUBY007338 for ; Wed, 5 Apr 2017 10:37:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id E5B7578DE4; Wed, 5 Apr 2017 14:37:30 +0000 (UTC) Received: from caroline.brq.redhat.com (dhcp129-198.brq.redhat.com [10.34.129.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9429D784C8; Wed, 5 Apr 2017 14:37:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 534FF7F7A7 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 534FF7F7A7 From: Martin Kletzander To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 16:36:35 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Erik=20=C5=A0kult=C3=A9ty?= Subject: [libvirt] [PATCH v2 12/12] tests: Add resctrl test for vircaps2xmltest 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]); Wed, 05 Apr 2017 14:39:24 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add info from yet another machine, this time with resctrl data so that we can extend tests easily in a test-driven way. Signed-off-by: Martin Kletzander --- tests/vircaps2xmldata/linux-resctrl/resctrl/cpus | 1 + .../linux-resctrl/resctrl/info/L3/cbm_mask | 1 + .../linux-resctrl/resctrl/info/L3/min_cbm_bits | 1 + .../linux-resctrl/resctrl/info/L3/num_closids | 1 + .../linux-resctrl/resctrl/manualres/cpus | 1 + .../linux-resctrl/resctrl/manualres/schemata | 1 + .../linux-resctrl/resctrl/manualres/tasks | 0 .../vircaps2xmldata/linux-resctrl/resctrl/schemata | 1 + tests/vircaps2xmldata/linux-resctrl/resctrl/tasks | 0 .../linux-resctrl/system/cpu/cpu0/cache/index0/id | 1 + .../system/cpu/cpu0/cache/index0/level | 1 + .../system/cpu/cpu0/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu0/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu0/cache/index0/size | 1 + .../system/cpu/cpu0/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu0/cache/index1/id | 1 + .../system/cpu/cpu0/cache/index1/level | 1 + .../system/cpu/cpu0/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu0/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu0/cache/index1/size | 1 + .../system/cpu/cpu0/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu0/cache/index2/id | 1 + .../system/cpu/cpu0/cache/index2/level | 1 + .../system/cpu/cpu0/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu0/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu0/cache/index2/size | 1 + .../system/cpu/cpu0/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu0/cache/index3/id | 1 + .../system/cpu/cpu0/cache/index3/level | 1 + .../system/cpu/cpu0/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu0/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu0/cache/index3/size | 1 + .../system/cpu/cpu0/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu0/online | 1 + .../linux-resctrl/system/cpu/cpu0/topology/core_id | 1 + .../system/cpu/cpu0/topology/core_siblings | 1 + .../system/cpu/cpu0/topology/core_siblings_list | 1 + .../system/cpu/cpu0/topology/physical_package_id | 1 + .../system/cpu/cpu0/topology/thread_siblings | 1 + .../system/cpu/cpu0/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu1/cache/index0/id | 1 + .../system/cpu/cpu1/cache/index0/level | 1 + .../system/cpu/cpu1/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu1/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu1/cache/index0/size | 1 + .../system/cpu/cpu1/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu1/cache/index1/id | 1 + .../system/cpu/cpu1/cache/index1/level | 1 + .../system/cpu/cpu1/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu1/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu1/cache/index1/size | 1 + .../system/cpu/cpu1/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu1/cache/index2/id | 1 + .../system/cpu/cpu1/cache/index2/level | 1 + .../system/cpu/cpu1/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu1/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu1/cache/index2/size | 1 + .../system/cpu/cpu1/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu1/cache/index3/id | 1 + .../system/cpu/cpu1/cache/index3/level | 1 + .../system/cpu/cpu1/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu1/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu1/cache/index3/size | 1 + .../system/cpu/cpu1/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu1/online | 1 + .../linux-resctrl/system/cpu/cpu1/topology/core_id | 1 + .../system/cpu/cpu1/topology/core_siblings | 1 + .../system/cpu/cpu1/topology/core_siblings_list | 1 + .../system/cpu/cpu1/topology/physical_package_id | 1 + .../system/cpu/cpu1/topology/thread_siblings | 1 + .../system/cpu/cpu1/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu10/cache/index0/id | 1 + .../system/cpu/cpu10/cache/index0/level | 1 + .../system/cpu/cpu10/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu10/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu10/cache/index0/size | 1 + .../system/cpu/cpu10/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu10/cache/index1/id | 1 + .../system/cpu/cpu10/cache/index1/level | 1 + .../system/cpu/cpu10/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu10/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu10/cache/index1/size | 1 + .../system/cpu/cpu10/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu10/cache/index2/id | 1 + .../system/cpu/cpu10/cache/index2/level | 1 + .../system/cpu/cpu10/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu10/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu10/cache/index2/size | 1 + .../system/cpu/cpu10/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu10/cache/index3/id | 1 + .../system/cpu/cpu10/cache/index3/level | 1 + .../system/cpu/cpu10/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu10/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu10/cache/index3/size | 1 + .../system/cpu/cpu10/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu10/online | 1 + .../system/cpu/cpu10/topology/core_id | 1 + .../system/cpu/cpu10/topology/core_siblings | 1 + .../system/cpu/cpu10/topology/core_siblings_list | 1 + .../system/cpu/cpu10/topology/physical_package_id | 1 + .../system/cpu/cpu10/topology/thread_siblings | 1 + .../system/cpu/cpu10/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu11/cache/index0/id | 1 + .../system/cpu/cpu11/cache/index0/level | 1 + .../system/cpu/cpu11/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu11/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu11/cache/index0/size | 1 + .../system/cpu/cpu11/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu11/cache/index1/id | 1 + .../system/cpu/cpu11/cache/index1/level | 1 + .../system/cpu/cpu11/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu11/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu11/cache/index1/size | 1 + .../system/cpu/cpu11/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu11/cache/index2/id | 1 + .../system/cpu/cpu11/cache/index2/level | 1 + .../system/cpu/cpu11/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu11/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu11/cache/index2/size | 1 + .../system/cpu/cpu11/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu11/cache/index3/id | 1 + .../system/cpu/cpu11/cache/index3/level | 1 + .../system/cpu/cpu11/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu11/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu11/cache/index3/size | 1 + .../system/cpu/cpu11/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu11/online | 1 + .../system/cpu/cpu11/topology/core_id | 1 + .../system/cpu/cpu11/topology/core_siblings | 1 + .../system/cpu/cpu11/topology/core_siblings_list | 1 + .../system/cpu/cpu11/topology/physical_package_id | 1 + .../system/cpu/cpu11/topology/thread_siblings | 1 + .../system/cpu/cpu11/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu2/cache/index0/id | 1 + .../system/cpu/cpu2/cache/index0/level | 1 + .../system/cpu/cpu2/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu2/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu2/cache/index0/size | 1 + .../system/cpu/cpu2/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu2/cache/index1/id | 1 + .../system/cpu/cpu2/cache/index1/level | 1 + .../system/cpu/cpu2/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu2/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu2/cache/index1/size | 1 + .../system/cpu/cpu2/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu2/cache/index2/id | 1 + .../system/cpu/cpu2/cache/index2/level | 1 + .../system/cpu/cpu2/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu2/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu2/cache/index2/size | 1 + .../system/cpu/cpu2/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu2/cache/index3/id | 1 + .../system/cpu/cpu2/cache/index3/level | 1 + .../system/cpu/cpu2/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu2/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu2/cache/index3/size | 1 + .../system/cpu/cpu2/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu2/online | 1 + .../linux-resctrl/system/cpu/cpu2/topology/core_id | 1 + .../system/cpu/cpu2/topology/core_siblings | 1 + .../system/cpu/cpu2/topology/core_siblings_list | 1 + .../system/cpu/cpu2/topology/physical_package_id | 1 + .../system/cpu/cpu2/topology/thread_siblings | 1 + .../system/cpu/cpu2/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu3/cache/index0/id | 1 + .../system/cpu/cpu3/cache/index0/level | 1 + .../system/cpu/cpu3/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu3/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu3/cache/index0/size | 1 + .../system/cpu/cpu3/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu3/cache/index1/id | 1 + .../system/cpu/cpu3/cache/index1/level | 1 + .../system/cpu/cpu3/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu3/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu3/cache/index1/size | 1 + .../system/cpu/cpu3/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu3/cache/index2/id | 1 + .../system/cpu/cpu3/cache/index2/level | 1 + .../system/cpu/cpu3/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu3/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu3/cache/index2/size | 1 + .../system/cpu/cpu3/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu3/cache/index3/id | 1 + .../system/cpu/cpu3/cache/index3/level | 1 + .../system/cpu/cpu3/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu3/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu3/cache/index3/size | 1 + .../system/cpu/cpu3/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu3/online | 1 + .../linux-resctrl/system/cpu/cpu3/topology/core_id | 1 + .../system/cpu/cpu3/topology/core_siblings | 1 + .../system/cpu/cpu3/topology/core_siblings_list | 1 + .../system/cpu/cpu3/topology/physical_package_id | 1 + .../system/cpu/cpu3/topology/thread_siblings | 1 + .../system/cpu/cpu3/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu4/cache/index0/id | 1 + .../system/cpu/cpu4/cache/index0/level | 1 + .../system/cpu/cpu4/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu4/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu4/cache/index0/size | 1 + .../system/cpu/cpu4/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu4/cache/index1/id | 1 + .../system/cpu/cpu4/cache/index1/level | 1 + .../system/cpu/cpu4/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu4/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu4/cache/index1/size | 1 + .../system/cpu/cpu4/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu4/cache/index2/id | 1 + .../system/cpu/cpu4/cache/index2/level | 1 + .../system/cpu/cpu4/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu4/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu4/cache/index2/size | 1 + .../system/cpu/cpu4/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu4/cache/index3/id | 1 + .../system/cpu/cpu4/cache/index3/level | 1 + .../system/cpu/cpu4/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu4/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu4/cache/index3/size | 1 + .../system/cpu/cpu4/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu4/online | 1 + .../linux-resctrl/system/cpu/cpu4/topology/core_id | 1 + .../system/cpu/cpu4/topology/core_siblings | 1 + .../system/cpu/cpu4/topology/core_siblings_list | 1 + .../system/cpu/cpu4/topology/physical_package_id | 1 + .../system/cpu/cpu4/topology/thread_siblings | 1 + .../system/cpu/cpu4/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu5/cache/index0/id | 1 + .../system/cpu/cpu5/cache/index0/level | 1 + .../system/cpu/cpu5/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu5/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu5/cache/index0/size | 1 + .../system/cpu/cpu5/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu5/cache/index1/id | 1 + .../system/cpu/cpu5/cache/index1/level | 1 + .../system/cpu/cpu5/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu5/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu5/cache/index1/size | 1 + .../system/cpu/cpu5/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu5/cache/index2/id | 1 + .../system/cpu/cpu5/cache/index2/level | 1 + .../system/cpu/cpu5/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu5/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu5/cache/index2/size | 1 + .../system/cpu/cpu5/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu5/cache/index3/id | 1 + .../system/cpu/cpu5/cache/index3/level | 1 + .../system/cpu/cpu5/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu5/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu5/cache/index3/size | 1 + .../system/cpu/cpu5/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu5/online | 1 + .../linux-resctrl/system/cpu/cpu5/topology/core_id | 1 + .../system/cpu/cpu5/topology/core_siblings | 1 + .../system/cpu/cpu5/topology/core_siblings_list | 1 + .../system/cpu/cpu5/topology/physical_package_id | 1 + .../system/cpu/cpu5/topology/thread_siblings | 1 + .../system/cpu/cpu5/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu6/cache/index0/id | 1 + .../system/cpu/cpu6/cache/index0/level | 1 + .../system/cpu/cpu6/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu6/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu6/cache/index0/size | 1 + .../system/cpu/cpu6/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu6/cache/index1/id | 1 + .../system/cpu/cpu6/cache/index1/level | 1 + .../system/cpu/cpu6/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu6/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu6/cache/index1/size | 1 + .../system/cpu/cpu6/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu6/cache/index2/id | 1 + .../system/cpu/cpu6/cache/index2/level | 1 + .../system/cpu/cpu6/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu6/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu6/cache/index2/size | 1 + .../system/cpu/cpu6/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu6/cache/index3/id | 1 + .../system/cpu/cpu6/cache/index3/level | 1 + .../system/cpu/cpu6/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu6/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu6/cache/index3/size | 1 + .../system/cpu/cpu6/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu6/online | 1 + .../linux-resctrl/system/cpu/cpu6/topology/core_id | 1 + .../system/cpu/cpu6/topology/core_siblings | 1 + .../system/cpu/cpu6/topology/core_siblings_list | 1 + .../system/cpu/cpu6/topology/physical_package_id | 1 + .../system/cpu/cpu6/topology/thread_siblings | 1 + .../system/cpu/cpu6/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu7/cache/index0/id | 1 + .../system/cpu/cpu7/cache/index0/level | 1 + .../system/cpu/cpu7/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu7/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu7/cache/index0/size | 1 + .../system/cpu/cpu7/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu7/cache/index1/id | 1 + .../system/cpu/cpu7/cache/index1/level | 1 + .../system/cpu/cpu7/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu7/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu7/cache/index1/size | 1 + .../system/cpu/cpu7/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu7/cache/index2/id | 1 + .../system/cpu/cpu7/cache/index2/level | 1 + .../system/cpu/cpu7/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu7/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu7/cache/index2/size | 1 + .../system/cpu/cpu7/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu7/cache/index3/id | 1 + .../system/cpu/cpu7/cache/index3/level | 1 + .../system/cpu/cpu7/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu7/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu7/cache/index3/size | 1 + .../system/cpu/cpu7/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu7/online | 1 + .../linux-resctrl/system/cpu/cpu7/topology/core_id | 1 + .../system/cpu/cpu7/topology/core_siblings | 1 + .../system/cpu/cpu7/topology/core_siblings_list | 1 + .../system/cpu/cpu7/topology/physical_package_id | 1 + .../system/cpu/cpu7/topology/thread_siblings | 1 + .../system/cpu/cpu7/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu8/cache/index0/id | 1 + .../system/cpu/cpu8/cache/index0/level | 1 + .../system/cpu/cpu8/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu8/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu8/cache/index0/size | 1 + .../system/cpu/cpu8/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu8/cache/index1/id | 1 + .../system/cpu/cpu8/cache/index1/level | 1 + .../system/cpu/cpu8/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu8/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu8/cache/index1/size | 1 + .../system/cpu/cpu8/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu8/cache/index2/id | 1 + .../system/cpu/cpu8/cache/index2/level | 1 + .../system/cpu/cpu8/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu8/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu8/cache/index2/size | 1 + .../system/cpu/cpu8/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu8/cache/index3/id | 1 + .../system/cpu/cpu8/cache/index3/level | 1 + .../system/cpu/cpu8/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu8/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu8/cache/index3/size | 1 + .../system/cpu/cpu8/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu8/online | 1 + .../linux-resctrl/system/cpu/cpu8/topology/core_id | 1 + .../system/cpu/cpu8/topology/core_siblings | 1 + .../system/cpu/cpu8/topology/core_siblings_list | 1 + .../system/cpu/cpu8/topology/physical_package_id | 1 + .../system/cpu/cpu8/topology/thread_siblings | 1 + .../system/cpu/cpu8/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/cpu9/cache/index0/id | 1 + .../system/cpu/cpu9/cache/index0/level | 1 + .../system/cpu/cpu9/cache/index0/shared_cpu_list | 1 + .../system/cpu/cpu9/cache/index0/shared_cpu_map | 1 + .../system/cpu/cpu9/cache/index0/size | 1 + .../system/cpu/cpu9/cache/index0/type | 1 + .../linux-resctrl/system/cpu/cpu9/cache/index1/id | 1 + .../system/cpu/cpu9/cache/index1/level | 1 + .../system/cpu/cpu9/cache/index1/shared_cpu_list | 1 + .../system/cpu/cpu9/cache/index1/shared_cpu_map | 1 + .../system/cpu/cpu9/cache/index1/size | 1 + .../system/cpu/cpu9/cache/index1/type | 1 + .../linux-resctrl/system/cpu/cpu9/cache/index2/id | 1 + .../system/cpu/cpu9/cache/index2/level | 1 + .../system/cpu/cpu9/cache/index2/shared_cpu_list | 1 + .../system/cpu/cpu9/cache/index2/shared_cpu_map | 1 + .../system/cpu/cpu9/cache/index2/size | 1 + .../system/cpu/cpu9/cache/index2/type | 1 + .../linux-resctrl/system/cpu/cpu9/cache/index3/id | 1 + .../system/cpu/cpu9/cache/index3/level | 1 + .../system/cpu/cpu9/cache/index3/shared_cpu_list | 1 + .../system/cpu/cpu9/cache/index3/shared_cpu_map | 1 + .../system/cpu/cpu9/cache/index3/size | 1 + .../system/cpu/cpu9/cache/index3/type | 1 + .../linux-resctrl/system/cpu/cpu9/online | 1 + .../linux-resctrl/system/cpu/cpu9/topology/core_id | 1 + .../system/cpu/cpu9/topology/core_siblings | 1 + .../system/cpu/cpu9/topology/core_siblings_list | 1 + .../system/cpu/cpu9/topology/physical_package_id | 1 + .../system/cpu/cpu9/topology/thread_siblings | 1 + .../system/cpu/cpu9/topology/thread_siblings_list | 1 + .../linux-resctrl/system/cpu/online | 1 + .../linux-resctrl/system/cpu/present | 1 + .../linux-resctrl/system/node/node0/cpu0 | 1 + .../linux-resctrl/system/node/node0/cpu1 | 1 + .../linux-resctrl/system/node/node0/cpu2 | 1 + .../linux-resctrl/system/node/node0/cpu3 | 1 + .../linux-resctrl/system/node/node0/cpu4 | 1 + .../linux-resctrl/system/node/node0/cpu5 | 1 + .../linux-resctrl/system/node/node0/cpulist | 1 + .../linux-resctrl/system/node/node0/cpumap | 1 + .../linux-resctrl/system/node/node0/distance | 1 + .../hugepages/hugepages-1048576kB/free_hugepages | 1 + .../hugepages/hugepages-1048576kB/nr_hugepages | 1 + .../hugepages-1048576kB/surplus_hugepages | 1 + .../hugepages/hugepages-2048kB/free_hugepages | 1 + .../node0/hugepages/hugepages-2048kB/nr_hugepages | 1 + .../hugepages/hugepages-2048kB/surplus_hugepages | 1 + .../linux-resctrl/system/node/node1/cpu10 | 1 + .../linux-resctrl/system/node/node1/cpu11 | 1 + .../linux-resctrl/system/node/node1/cpu6 | 1 + .../linux-resctrl/system/node/node1/cpu7 | 1 + .../linux-resctrl/system/node/node1/cpu8 | 1 + .../linux-resctrl/system/node/node1/cpu9 | 1 + .../linux-resctrl/system/node/node1/cpulist | 1 + .../linux-resctrl/system/node/node1/cpumap | 1 + .../linux-resctrl/system/node/node1/distance | 1 + .../hugepages/hugepages-1048576kB/free_hugepages | 1 + .../hugepages/hugepages-1048576kB/nr_hugepages | 1 + .../hugepages-1048576kB/surplus_hugepages | 1 + .../hugepages/hugepages-2048kB/free_hugepages | 1 + .../node1/hugepages/hugepages-2048kB/nr_hugepages | 1 + .../hugepages/hugepages-2048kB/surplus_hugepages | 1 + .../linux-resctrl/system/node/online | 1 + tests/vircaps2xmldata/vircaps-x86_64-resctrl.xml | 49 ++++++++++++++++++= ++++ tests/vircaps2xmltest.c | 2 + 416 files changed, 463 insertions(+) create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/cpus create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/cbm= _mask create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/min= _cbm_bits create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/num= _closids create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/c= pus create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/s= chemata create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/t= asks create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/schemata create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/tasks create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/ca= che/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/on= line create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/to= pology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/to= pology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/to= pology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/to= pology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/to= pology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/to= pology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/ca= che/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/on= line create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/to= pology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/to= pology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/to= pology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/to= pology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/to= pology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/to= pology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index0/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index0/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index0/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index0/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index0/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index0/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index1/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index1/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index1/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index1/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index1/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index1/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index2/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index2/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index2/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index2/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index2/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index2/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index3/id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index3/level create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index3/shared_cpu_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index3/shared_cpu_map create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index3/size create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index3/type create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/onl= ine create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/top= ology/core_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/top= ology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/top= ology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/top= ology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/top= ology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/top= ology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/online create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/present create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/c= pu0 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/c= pu1 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/c= pu2 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/c= pu3 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/c= pu4 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/c= pu5 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/c= pulist create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/c= pumap create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/d= istance create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/h= ugepages/hugepages-1048576kB/free_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/h= ugepages/hugepages-1048576kB/nr_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/h= ugepages/hugepages-1048576kB/surplus_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/h= ugepages/hugepages-2048kB/free_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/h= ugepages/hugepages-2048kB/nr_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/h= ugepages/hugepages-2048kB/surplus_hugepages create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/c= pu10 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/c= pu11 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/c= pu6 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/c= pu7 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/c= pu8 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/c= pu9 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/c= pulist create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/c= pumap create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/d= istance create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/h= ugepages/hugepages-1048576kB/free_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/h= ugepages/hugepages-1048576kB/nr_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/h= ugepages/hugepages-1048576kB/surplus_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/h= ugepages/hugepages-2048kB/free_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/h= ugepages/hugepages-2048kB/nr_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/h= ugepages/hugepages-2048kB/surplus_hugepages create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/online create mode 100644 tests/vircaps2xmldata/vircaps-x86_64-resctrl.xml diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/cpus b/tests/virca= ps2xmldata/linux-resctrl/resctrl/cpus new file mode 100644 index 000000000000..98d03acc98ed --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/resctrl/cpus @@ -0,0 +1 @@ +fff diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/cbm_mask b= /tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/cbm_mask new file mode 100644 index 000000000000..78031dae83bf --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/cbm_mask @@ -0,0 +1 @@ +fffff diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/min_cbm_bi= ts b/tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/min_cbm_bits new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/min_cbm_bits @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/num_closid= s b/tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/num_closids new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/resctrl/info/L3/num_closids @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/cpus b/t= ests/vircaps2xmldata/linux-resctrl/resctrl/manualres/cpus new file mode 100644 index 000000000000..8f087a34c80c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/cpus @@ -0,0 +1 @@ +000 diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/schemata= b/tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/schemata new file mode 100644 index 000000000000..e499ef75baaf --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/schemata @@ -0,0 +1 @@ +L3:0=3De0000;1=3De0000 diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/tasks b/= tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/tasks new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/schemata b/tests/v= ircaps2xmldata/linux-resctrl/resctrl/schemata new file mode 100644 index 000000000000..9b47d25fc72e --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/resctrl/schemata @@ -0,0 +1 @@ +L3:0=3D1ffff;1=3D1ffff diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/tasks b/tests/virc= aps2xmldata/linux-resctrl/resctrl/tasks new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..5325a8dff751 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +001 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..5325a8dff751 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +001 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..5325a8dff751 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +001 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/core_= id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/core_id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology= /core_siblings new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/core_sib= lings @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/top= ology/core_siblings_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/core_sib= lings_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/to= pology/physical_package_id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/physical= _package_id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topolo= gy/thread_siblings new file mode 100644 index 000000000000..5325a8dff751 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/thread_s= iblings @@ -0,0 +1 @@ +001 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/t= opology/thread_siblings_list new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/thread_s= iblings_list @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..5902f77e7e42 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +002 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..5902f77e7e42 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +002 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..5902f77e7e42 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +002 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/core_= id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/core_id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology= /core_siblings new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/core_sib= lings @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/top= ology/core_siblings_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/core_sib= lings_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/to= pology/physical_package_id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/physical= _package_id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topolo= gy/thread_siblings new file mode 100644 index 000000000000..5902f77e7e42 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/thread_s= iblings @@ -0,0 +1 @@ +002 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/t= opology/thread_siblings_list new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/thread_s= iblings_list @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/= id new file mode 100644 index 000000000000..48082f72f087 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/id @@ -0,0 +1 @@ +12 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/inde= x0/level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/lev= el @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/= cache/index0/shared_cpu_list new file mode 100644 index 000000000000..f599e28b8ab0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/sha= red_cpu_list @@ -0,0 +1 @@ +10 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/c= ache/index0/shared_cpu_map new file mode 100644 index 000000000000..d411bb7c1aca --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/sha= red_cpu_map @@ -0,0 +1 @@ +400 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index= 0/size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index= 0/type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/= id new file mode 100644 index 000000000000..48082f72f087 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/id @@ -0,0 +1 @@ +12 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/inde= x1/level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/lev= el @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/= cache/index1/shared_cpu_list new file mode 100644 index 000000000000..f599e28b8ab0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/sha= red_cpu_list @@ -0,0 +1 @@ +10 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/c= ache/index1/shared_cpu_map new file mode 100644 index 000000000000..d411bb7c1aca --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/sha= red_cpu_map @@ -0,0 +1 @@ +400 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index= 1/size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index= 1/type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/= id new file mode 100644 index 000000000000..48082f72f087 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/id @@ -0,0 +1 @@ +12 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/inde= x2/level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/lev= el @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/= cache/index2/shared_cpu_list new file mode 100644 index 000000000000..f599e28b8ab0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/sha= red_cpu_list @@ -0,0 +1 @@ +10 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/c= ache/index2/shared_cpu_map new file mode 100644 index 000000000000..d411bb7c1aca --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/sha= red_cpu_map @@ -0,0 +1 @@ +400 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index= 2/size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index= 2/type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/= id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/inde= x3/level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/lev= el @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/= cache/index3/shared_cpu_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/sha= red_cpu_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/c= ache/index3/shared_cpu_map new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/sha= red_cpu_map @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index= 3/size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/ind= ex3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index= 3/type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/online b/= tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/= core_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/cor= e_id new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/core_id @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/= core_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topolo= gy/core_siblings new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/core_si= blings @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/= core_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/t= opology/core_siblings_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/core_si= blings_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/= physical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/= topology/physical_package_id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/physica= l_package_id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/= thread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topo= logy/thread_siblings new file mode 100644 index 000000000000..d411bb7c1aca --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/thread_= siblings @@ -0,0 +1 @@ +400 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/= thread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10= /topology/thread_siblings_list new file mode 100644 index 000000000000..f599e28b8ab0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/thread_= siblings_list @@ -0,0 +1 @@ +10 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/= id new file mode 100644 index 000000000000..b1bd38b62a08 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/id @@ -0,0 +1 @@ +13 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/inde= x0/level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/lev= el @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/= cache/index0/shared_cpu_list new file mode 100644 index 000000000000..b4de39476753 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/sha= red_cpu_list @@ -0,0 +1 @@ +11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/c= ache/index0/shared_cpu_map new file mode 100644 index 000000000000..5ae5aef8442c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/sha= red_cpu_map @@ -0,0 +1 @@ +800 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index= 0/size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index= 0/type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/= id new file mode 100644 index 000000000000..b1bd38b62a08 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/id @@ -0,0 +1 @@ +13 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/inde= x1/level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/lev= el @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/= cache/index1/shared_cpu_list new file mode 100644 index 000000000000..b4de39476753 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/sha= red_cpu_list @@ -0,0 +1 @@ +11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/c= ache/index1/shared_cpu_map new file mode 100644 index 000000000000..5ae5aef8442c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/sha= red_cpu_map @@ -0,0 +1 @@ +800 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index= 1/size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index= 1/type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/= id new file mode 100644 index 000000000000..b1bd38b62a08 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/id @@ -0,0 +1 @@ +13 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/inde= x2/level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/lev= el @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/= cache/index2/shared_cpu_list new file mode 100644 index 000000000000..b4de39476753 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/sha= red_cpu_list @@ -0,0 +1 @@ +11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/c= ache/index2/shared_cpu_map new file mode 100644 index 000000000000..5ae5aef8442c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/sha= red_cpu_map @@ -0,0 +1 @@ +800 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index= 2/size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index= 2/type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/= id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/inde= x3/level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/lev= el @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/= cache/index3/shared_cpu_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/sha= red_cpu_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/c= ache/index3/shared_cpu_map new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/sha= red_cpu_map @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index= 3/size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/ind= ex3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index= 3/type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/online b/= tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/= core_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/cor= e_id new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/core_id @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/= core_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topolo= gy/core_siblings new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/core_si= blings @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/= core_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/t= opology/core_siblings_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/core_si= blings_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/= physical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/= topology/physical_package_id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/physica= l_package_id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/= thread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topo= logy/thread_siblings new file mode 100644 index 000000000000..5ae5aef8442c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/thread_= siblings @@ -0,0 +1 @@ +800 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/= thread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11= /topology/thread_siblings_list new file mode 100644 index 000000000000..b4de39476753 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/thread_= siblings_list @@ -0,0 +1 @@ +11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..8f3cca4f016a --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +004 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..8f3cca4f016a --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +004 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..8f3cca4f016a --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +004 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/core_= id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/core_id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology= /core_siblings new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/core_sib= lings @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/top= ology/core_siblings_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/core_sib= lings_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/to= pology/physical_package_id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/physical= _package_id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topolo= gy/thread_siblings new file mode 100644 index 000000000000..8f3cca4f016a --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/thread_s= iblings @@ -0,0 +1 @@ +004 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/t= opology/thread_siblings_list new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/thread_s= iblings_list @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..e195199bee51 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +008 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..e195199bee51 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +008 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..e195199bee51 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +008 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/core_= id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/core_id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology= /core_siblings new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/core_sib= lings @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/top= ology/core_siblings_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/core_sib= lings_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/to= pology/physical_package_id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/physical= _package_id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topolo= gy/thread_siblings new file mode 100644 index 000000000000..e195199bee51 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/thread_s= iblings @@ -0,0 +1 @@ +008 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/t= opology/thread_siblings_list new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/thread_s= iblings_list @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/id new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/id @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..9e8493eaee24 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +010 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/id new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/id @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..9e8493eaee24 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +010 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/id new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/id @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..9e8493eaee24 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +010 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/core_= id new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/core_id @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology= /core_siblings new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/core_sib= lings @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/top= ology/core_siblings_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/core_sib= lings_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/to= pology/physical_package_id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/physical= _package_id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topolo= gy/thread_siblings new file mode 100644 index 000000000000..9e8493eaee24 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/thread_s= iblings @@ -0,0 +1 @@ +010 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/t= opology/thread_siblings_list new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/thread_s= iblings_list @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/id new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/id @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..fb6187e9e012 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +020 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/id new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/id @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..fb6187e9e012 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +020 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/id new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/id @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..fb6187e9e012 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +020 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/core_= id new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/core_id @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology= /core_siblings new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/core_sib= lings @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/top= ology/core_siblings_list new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/core_sib= lings_list @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/to= pology/physical_package_id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/physical= _package_id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topolo= gy/thread_siblings new file mode 100644 index 000000000000..fb6187e9e012 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/thread_s= iblings @@ -0,0 +1 @@ +020 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/t= opology/thread_siblings_list new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/thread_s= iblings_list @@ -0,0 +1 @@ +5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/id new file mode 100644 index 000000000000..45a4fb75db86 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/id @@ -0,0 +1 @@ +8 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..1e8b31496214 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +6 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..9070bc301771 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +040 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/id new file mode 100644 index 000000000000..45a4fb75db86 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/id @@ -0,0 +1 @@ +8 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..1e8b31496214 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +6 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..9070bc301771 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +040 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/id new file mode 100644 index 000000000000..45a4fb75db86 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/id @@ -0,0 +1 @@ +8 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..1e8b31496214 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +6 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..9070bc301771 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +040 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/core_= id new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/core_id @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology= /core_siblings new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/core_sib= lings @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/top= ology/core_siblings_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/core_sib= lings_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/to= pology/physical_package_id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/physical= _package_id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topolo= gy/thread_siblings new file mode 100644 index 000000000000..9070bc301771 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/thread_s= iblings @@ -0,0 +1 @@ +040 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/t= opology/thread_siblings_list new file mode 100644 index 000000000000..1e8b31496214 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/thread_s= iblings_list @@ -0,0 +1 @@ +6 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/id new file mode 100644 index 000000000000..ec635144f600 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/id @@ -0,0 +1 @@ +9 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..7f8f011eb73d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +7 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..fa5c7835bd30 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +080 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/id new file mode 100644 index 000000000000..ec635144f600 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/id @@ -0,0 +1 @@ +9 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..7f8f011eb73d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +7 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..fa5c7835bd30 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +080 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/id new file mode 100644 index 000000000000..ec635144f600 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/id @@ -0,0 +1 @@ +9 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..7f8f011eb73d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +7 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..fa5c7835bd30 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +080 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/core_= id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/core_id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology= /core_siblings new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/core_sib= lings @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/top= ology/core_siblings_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/core_sib= lings_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/to= pology/physical_package_id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/physical= _package_id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topolo= gy/thread_siblings new file mode 100644 index 000000000000..fa5c7835bd30 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/thread_s= iblings @@ -0,0 +1 @@ +080 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/t= opology/thread_siblings_list new file mode 100644 index 000000000000..7f8f011eb73d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/thread_s= iblings_list @@ -0,0 +1 @@ +7 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/id new file mode 100644 index 000000000000..f599e28b8ab0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/id @@ -0,0 +1 @@ +10 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..45a4fb75db86 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +8 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..29d6383b52c1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +100 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/id new file mode 100644 index 000000000000..f599e28b8ab0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/id @@ -0,0 +1 @@ +10 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..45a4fb75db86 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +8 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..29d6383b52c1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +100 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/id new file mode 100644 index 000000000000..f599e28b8ab0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/id @@ -0,0 +1 @@ +10 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..45a4fb75db86 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +8 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..29d6383b52c1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +100 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/core_= id new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/core_id @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology= /core_siblings new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/core_sib= lings @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/top= ology/core_siblings_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/core_sib= lings_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/to= pology/physical_package_id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/physical= _package_id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topolo= gy/thread_siblings new file mode 100644 index 000000000000..29d6383b52c1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/thread_s= iblings @@ -0,0 +1 @@ +100 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/t= opology/thread_siblings_list new file mode 100644 index 000000000000..45a4fb75db86 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/thread_s= iblings_list @@ -0,0 +1 @@ +8 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x0/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/id new file mode 100644 index 000000000000..b4de39476753 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/id @@ -0,0 +1 @@ +11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x0/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x0/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/ca= che/index0/shared_cpu_list new file mode 100644 index 000000000000..ec635144f600 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/shar= ed_cpu_list @@ -0,0 +1 @@ +9 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x0/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index0/shared_cpu_map new file mode 100644 index 000000000000..08839f6bb296 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/shar= ed_cpu_map @@ -0,0 +1 @@ +200 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x0/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x0/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/= type new file mode 100644 index 000000000000..0b7088ec6330 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x1/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/id new file mode 100644 index 000000000000..b4de39476753 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/id @@ -0,0 +1 @@ +11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x1/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1= /level new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x1/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/ca= che/index1/shared_cpu_list new file mode 100644 index 000000000000..ec635144f600 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/shar= ed_cpu_list @@ -0,0 +1 @@ +9 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x1/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index1/shared_cpu_map new file mode 100644 index 000000000000..08839f6bb296 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/shar= ed_cpu_map @@ -0,0 +1 @@ +200 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x1/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/= size new file mode 100644 index 000000000000..56b868b2a363 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/size @@ -0,0 +1 @@ +32K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x1/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/= type new file mode 100644 index 000000000000..9a53cbfa32a8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x2/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/id new file mode 100644 index 000000000000..b4de39476753 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/id @@ -0,0 +1 @@ +11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x2/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2= /level new file mode 100644 index 000000000000..0cfbf08886fc --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x2/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/ca= che/index2/shared_cpu_list new file mode 100644 index 000000000000..ec635144f600 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/shar= ed_cpu_list @@ -0,0 +1 @@ +9 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x2/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index2/shared_cpu_map new file mode 100644 index 000000000000..08839f6bb296 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/shar= ed_cpu_map @@ -0,0 +1 @@ +200 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x2/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/= size new file mode 100644 index 000000000000..7a3f37367c74 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x2/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x3/id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x3/level b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3= /level new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x3/shared_cpu_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/ca= che/index3/shared_cpu_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/shar= ed_cpu_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x3/shared_cpu_map b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cac= he/index3/shared_cpu_map new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/shar= ed_cpu_map @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x3/size b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/= size new file mode 100644 index 000000000000..c05ac8b9042d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/size @@ -0,0 +1 @@ +15360K diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/inde= x3/type b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/= type new file mode 100644 index 000000000000..e4fd9dccda2c --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/online b/t= ests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/online new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/online @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/c= ore_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/core_= id new file mode 100644 index 000000000000..00750edc07d6 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/core_id @@ -0,0 +1 @@ +3 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/c= ore_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology= /core_siblings new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/core_sib= lings @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/c= ore_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/top= ology/core_siblings_list new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/core_sib= lings_list @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/p= hysical_package_id b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/to= pology/physical_package_id new file mode 100644 index 000000000000..d00491fd7e5b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/physical= _package_id @@ -0,0 +1 @@ +1 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/t= hread_siblings b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topolo= gy/thread_siblings new file mode 100644 index 000000000000..08839f6bb296 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/thread_s= iblings @@ -0,0 +1 @@ +200 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/t= hread_siblings_list b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/t= opology/thread_siblings_list new file mode 100644 index 000000000000..ec635144f600 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/thread_s= iblings_list @@ -0,0 +1 @@ +9 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/online b/tests/= vircaps2xmldata/linux-resctrl/system/cpu/online new file mode 100644 index 000000000000..536e621dccf7 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/online @@ -0,0 +1 @@ +0-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/cpu/present b/tests= /vircaps2xmldata/linux-resctrl/system/cpu/present new file mode 100644 index 000000000000..536e621dccf7 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/cpu/present @@ -0,0 +1 @@ +0-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu0 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu0 new file mode 120000 index 000000000000..c841bea28b2b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu0 @@ -0,0 +1 @@ +../../cpu/cpu0 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu1 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu1 new file mode 120000 index 000000000000..5f4536279e70 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu1 @@ -0,0 +1 @@ +../../cpu/cpu1 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu2 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu2 new file mode 120000 index 000000000000..2dcca332cecb --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu2 @@ -0,0 +1 @@ +../../cpu/cpu2 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu3 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu3 new file mode 120000 index 000000000000..c7690e5aa678 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu3 @@ -0,0 +1 @@ +../../cpu/cpu3 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu4 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu4 new file mode 120000 index 000000000000..9e77a64eb4c8 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu4 @@ -0,0 +1 @@ +../../cpu/cpu4 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu5 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu5 new file mode 120000 index 000000000000..cc07c3b97bfe --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu5 @@ -0,0 +1 @@ +../../cpu/cpu5 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpulist = b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpulist new file mode 100644 index 000000000000..82a99f2907a0 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpulist @@ -0,0 +1 @@ +0-5 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpumap b= /tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpumap new file mode 100644 index 000000000000..d37ac748bd91 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpumap @@ -0,0 +1 @@ +03f diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/distance= b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/distance new file mode 100644 index 000000000000..bdfaa851d0e7 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/distance @@ -0,0 +1 @@ +10 21 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepage= s/hugepages-1048576kB/free_hugepages b/tests/vircaps2xmldata/linux-resctrl/= system/node/node0/hugepages/hugepages-1048576kB/free_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugep= ages-1048576kB/free_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepage= s/hugepages-1048576kB/nr_hugepages b/tests/vircaps2xmldata/linux-resctrl/sy= stem/node/node0/hugepages/hugepages-1048576kB/nr_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugep= ages-1048576kB/nr_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepage= s/hugepages-1048576kB/surplus_hugepages b/tests/vircaps2xmldata/linux-resct= rl/system/node/node0/hugepages/hugepages-1048576kB/surplus_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugep= ages-1048576kB/surplus_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepage= s/hugepages-2048kB/free_hugepages b/tests/vircaps2xmldata/linux-resctrl/sys= tem/node/node0/hugepages/hugepages-2048kB/free_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugep= ages-2048kB/free_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepage= s/hugepages-2048kB/nr_hugepages b/tests/vircaps2xmldata/linux-resctrl/syste= m/node/node0/hugepages/hugepages-2048kB/nr_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugep= ages-2048kB/nr_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepage= s/hugepages-2048kB/surplus_hugepages b/tests/vircaps2xmldata/linux-resctrl/= system/node/node0/hugepages/hugepages-2048kB/surplus_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugep= ages-2048kB/surplus_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu10 b/= tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu10 new file mode 120000 index 000000000000..a6dc6bb10e8b --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu10 @@ -0,0 +1 @@ +../../cpu/cpu10 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu11 b/= tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu11 new file mode 120000 index 000000000000..e29d8982840a --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu11 @@ -0,0 +1 @@ +../../cpu/cpu11 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu6 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu6 new file mode 120000 index 000000000000..2e7576354f93 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu6 @@ -0,0 +1 @@ +../../cpu/cpu6 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu7 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu7 new file mode 120000 index 000000000000..09e3f79b43d1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu7 @@ -0,0 +1 @@ +../../cpu/cpu7 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu8 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu8 new file mode 120000 index 000000000000..bda10cc34376 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu8 @@ -0,0 +1 @@ +../../cpu/cpu8 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu9 b/t= ests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu9 new file mode 120000 index 000000000000..1ec1db255a97 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu9 @@ -0,0 +1 @@ +../../cpu/cpu9 \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpulist = b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpulist new file mode 100644 index 000000000000..fd6c445982a1 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpulist @@ -0,0 +1 @@ +6-11 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpumap b= /tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpumap new file mode 100644 index 000000000000..6c3274debe2f --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpumap @@ -0,0 +1 @@ +fc0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/distance= b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/distance new file mode 100644 index 000000000000..b7621ea9d2bf --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/distance @@ -0,0 +1 @@ +21 10 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepage= s/hugepages-1048576kB/free_hugepages b/tests/vircaps2xmldata/linux-resctrl/= system/node/node1/hugepages/hugepages-1048576kB/free_hugepages new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugep= ages-1048576kB/free_hugepages @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepage= s/hugepages-1048576kB/nr_hugepages b/tests/vircaps2xmldata/linux-resctrl/sy= stem/node/node1/hugepages/hugepages-1048576kB/nr_hugepages new file mode 100644 index 000000000000..b8626c4cff28 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugep= ages-1048576kB/nr_hugepages @@ -0,0 +1 @@ +4 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepage= s/hugepages-1048576kB/surplus_hugepages b/tests/vircaps2xmldata/linux-resct= rl/system/node/node1/hugepages/hugepages-1048576kB/surplus_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugep= ages-1048576kB/surplus_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepage= s/hugepages-2048kB/free_hugepages b/tests/vircaps2xmldata/linux-resctrl/sys= tem/node/node1/hugepages/hugepages-2048kB/free_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugep= ages-2048kB/free_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepage= s/hugepages-2048kB/nr_hugepages b/tests/vircaps2xmldata/linux-resctrl/syste= m/node/node1/hugepages/hugepages-2048kB/nr_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugep= ages-2048kB/nr_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepage= s/hugepages-2048kB/surplus_hugepages b/tests/vircaps2xmldata/linux-resctrl/= system/node/node1/hugepages/hugepages-2048kB/surplus_hugepages new file mode 100644 index 000000000000..573541ac9702 --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugep= ages-2048kB/surplus_hugepages @@ -0,0 +1 @@ +0 diff --git a/tests/vircaps2xmldata/linux-resctrl/system/node/online b/tests= /vircaps2xmldata/linux-resctrl/system/node/online new file mode 100644 index 000000000000..8b0fab869c1d --- /dev/null +++ b/tests/vircaps2xmldata/linux-resctrl/system/node/online @@ -0,0 +1 @@ +0-1 diff --git a/tests/vircaps2xmldata/vircaps-x86_64-resctrl.xml b/tests/virca= ps2xmldata/vircaps-x86_64-resctrl.xml new file mode 100644 index 000000000000..c30ea8751175 --- /dev/null +++ b/tests/vircaps2xmldata/vircaps-x86_64-resctrl.xml @@ -0,0 +1,49 @@ + + + + + x86_64 + + + + + + + + + 1048576 + 2048 + 4096 + 6144 + + + + + + + + + + + 2097152 + 4096 + 6144 + 8192 + + + + + + + + + + + + + + + + + + diff --git a/tests/vircaps2xmltest.c b/tests/vircaps2xmltest.c index 31d027979cab..f590249e6eba 100644 --- a/tests/vircaps2xmltest.c +++ b/tests/vircaps2xmltest.c @@ -111,6 +111,8 @@ mymain(void) DO_TEST("caches", VIR_ARCH_X86_64); + DO_TEST_FULL("resctrl", VIR_ARCH_X86_64, true, true, true); + return ret; } --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list