From nobody Fri May 3 05:58:52 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 149311869022863.52609711894195; Tue, 25 Apr 2017 04:11:30 -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 31C623DBC1; Tue, 25 Apr 2017 11:11:28 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 013B079C62; Tue, 25 Apr 2017 11:11:28 +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 A60665EC60; Tue, 25 Apr 2017 11:11:27 +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 v3PBAc3m031892 for ; Tue, 25 Apr 2017 07:10:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 51DD890DC9; Tue, 25 Apr 2017 11:10:38 +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 A79F617BA3; Tue, 25 Apr 2017 11:10:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 31C623DBC1 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 31C623DBC1 From: Martin Kletzander To: libvir-list@redhat.com Date: Tue, 25 Apr 2017 13:10:25 +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 v3 1/8] tests: Add virfilewrapper -- 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.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 25 Apr 2017 11:11:29 +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 | 4 +- tests/Makefile.am | 2 +- tests/virfilewrapper.c | 281 +++++++++++++++++++++++++++++++++++++++++++++= ++++ tests/virfilewrapper.h | 31 ++++++ 4 files changed, 315 insertions(+), 3 deletions(-) create mode 100644 tests/virfilewrapper.c create mode 100644 tests/virfilewrapper.h diff --git a/cfg.mk b/cfg.mk index c04a9911eb78..ed4129e418bc 100644 --- a/cfg.mk +++ b/cfg.mk @@ -1129,7 +1129,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|u= sb)|nss|qemuxml2argv)mock|virfilewrapper)\.c$$) exclude_file_name_regexp--sc_libvirt_unmarked_diagnostics =3D \ ^(src/rpc/gendispatch\.pl$$|tests/) @@ -1258,7 +1258,7 @@ exclude_file_name_regexp--sc_prohibit_always-defined_= macros =3D \ ^tests/virtestmock.c$$ exclude_file_name_regexp--sc_prohibit_readdir =3D \ - ^tests/.*mock\.c$$ + ^tests/(.*mock|virfilewrapper)\.c$$ exclude_file_name_regexp--sc_prohibit_cross_inclusion =3D \ ^(src/util/virclosecallbacks\.h|src/util/virhostdev\.h)$$ diff --git a/tests/Makefile.am b/tests/Makefile.am index 279e9b7da866..2685098f4343 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1156,7 +1156,7 @@ 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 +EXTRA_DIST +=3D vircaps2xmltest.c virnumamock.c virfilewrapper.c virfilewr= apper.h endif ! WITH_LINUX if WITH_NSS diff --git a/tests/virfilewrapper.c b/tests/virfilewrapper.c new file mode 100644 index 000000000000..81537a6baf61 --- /dev/null +++ b/tests/virfilewrapper.c @@ -0,0 +1,281 @@ +/* + * virfilewrapper.c: Wrapper for universal file access + * + * 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 "virfilewrapper.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 +virFileWrapperAddPrefix(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 +virFileWrapperRemovePrefix(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 +virFileWrapperClearPrefixes(void) +{ + nprefixes =3D 0; + noverrides =3D 0; + + VIR_FREE(prefixes); + VIR_FREE(overrides); +} + +static char * +virFileWrapperOverridePrefix(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 virFileWrapperOverridePrefix(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/virfilewrapper.h b/tests/virfilewrapper.h new file mode 100644 index 000000000000..612322c1d044 --- /dev/null +++ b/tests/virfilewrapper.h @@ -0,0 +1,31 @@ +/* + * virfilewrapper.h: Wrapper for universal file access + * + * 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 +virFileWrapperAddPrefix(const char *prefix, + const char *override); + +void +virFileWrapperRemovePrefix(const char *prefix); + +void +virFileWrapperClearPrefixes(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 Fri May 3 05:58:52 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 1493118651436758.326766803107; Tue, 25 Apr 2017 04:10:51 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B7B73804F8; Tue, 25 Apr 2017 11:10:47 +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 7E3BF1851B; Tue, 25 Apr 2017 11:10: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 04C8718523CD; Tue, 25 Apr 2017 11:10: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 v3PBAdcU031900 for ; Tue, 25 Apr 2017 07:10:39 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4ACD490DC9; Tue, 25 Apr 2017 11:10:39 +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 9E92017BA3; Tue, 25 Apr 2017 11:10:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B7B73804F8 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 B7B73804F8 From: Martin Kletzander To: libvir-list@redhat.com Date: Tue, 25 Apr 2017 13:10:26 +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 v3 2/8] 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.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 25 Apr 2017 11:10:49 +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 | 39 ++++---- 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 | 17 ++-- 13 files changed, 226 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 5def2945059e..95d632fa4eab 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -176,7 +176,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 \ @@ -2587,7 +2586,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 83e979a2bdaa..5f98c5d52d9f 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -1648,6 +1648,8 @@ virFileReadLimFD; virFileReadLink; virFileReadValueBitmap; virFileReadValueInt; +virFileReadValueScaledInt; +virFileReadValueString; virFileReadValueUint; virFileRelLinkPointsTo; virFileRemove; @@ -2637,20 +2639,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 41c25a2b5f4b..38e938f87f12 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..17aa5c78a03e 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,9 @@ virHostCPUCountThreadSiblings(unsigned int cpu) char *str =3D NULL; size_t i; - rv =3D virSysfsGetCpuValueString(cpu, "topology/thread_siblings", &str= ); + rv =3D virFileReadValueString(&str, + "%s/cpu/cpu%u/topology/thread_siblings", + SYSFS_SYSTEM_PATH, cpu); if (rv =3D=3D -2) { ret =3D 1; goto cleanup; @@ -227,9 +229,9 @@ 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, + "%s/cpu/cpu%u/topology/physical_package_= id", + SYSFS_SYSTEM_PATH, cpu); /* If the file is not there, it's 0 */ if (ret =3D=3D -2) @@ -251,7 +253,9 @@ virHostCPUGetSocket(unsigned int cpu, unsigned int *soc= ket) int virHostCPUGetCore(unsigned int cpu, unsigned int *core) { - int ret =3D virSysfsGetCpuValueUint(cpu, "topology/core_id", core); + int ret =3D virFileReadValueUint(core, + "%s/cpu/cpu%u/topology/core_id", + SYSFS_SYSTEM_PATH, cpu); /* If the file is not there, it's 0 */ if (ret =3D=3D -2) @@ -268,7 +272,9 @@ 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, + "%s/cpu/cpu%u/topology/thread_siblings_lis= t", + SYSFS_SYSTEM_PATH, cpu); if (rv =3D=3D -2) { /* If the file doesn't exist, the threadis its only sibling */ ret =3D virBitmapNew(cpu + 1); @@ -615,7 +621,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 +665,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 +700,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 +847,7 @@ virHostCPUParseCountLinux(void) char *tmp; int ret =3D -1; - if (virSysfsGetValueString("cpu/present", &str) < 0) + if (virFileReadValueString(&str, "%s/cpu/present", SYSFS_SYSTEM_PATH) = < 0) return -1; tmp =3D str; @@ -866,8 +872,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, + "%s/cpu/cpu%u/online", + SYSFS_SYSTEM_PATH, cpu); /* If the file is not there, it's online (doesn't support offlining) */ if (ret =3D=3D -2) @@ -1032,7 +1039,7 @@ virHostCPUGetPresentBitmap(void) #ifdef __linux__ virBitmapPtr ret =3D NULL; - virSysfsGetValueBitmap("cpu/present", &ret); + virFileReadValueBitmap(&ret, "%s/cpu/present", SYSFS_SYSTEM_PATH); return ret; #else @@ -1048,7 +1055,7 @@ virHostCPUGetOnlineBitmap(void) #ifdef __linux__ virBitmapPtr ret =3D NULL; - virSysfsGetValueBitmap("cpu/online", &ret); + virFileReadValueBitmap(&ret, "%s/cpu/online", SYSFS_SYSTEM_PATH); 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 2685098f4343..5c77b555a82c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -930,7 +930,7 @@ virconftest_SOURCES =3D \ virconftest_LDADD =3D $(LDADDS) virhostcputest_SOURCES =3D \ - virhostcputest.c testutils.h testutils.c + virhostcputest.c testutils.h testutils.c virfilewrapper.c virhostcputest_LDADD =3D $(LDADDS) commandtest_SOURCES =3D \ @@ -1147,7 +1147,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 virfilewrapper.c vircaps2xmltest_LDADD =3D $(LDADDS) virnumamock_la_SOURCES =3D \ @@ -1155,6 +1155,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 virfilewrapper.c virfilewr= apper.h endif ! WITH_LINUX diff --git a/tests/vircaps2xmltest.c b/tests/vircaps2xmltest.c index 670bb8c375b3..6bf55aae5ba7 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 "virfilewrapper.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); + virFileWrapperAddPrefix("/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); + virFileWrapperClearPrefixes(); if (!(capsXML =3D virCapabilitiesFormatXML(caps))) goto cleanup; diff --git a/tests/virhostcputest.c b/tests/virhostcputest.c index b415ec5f1b08..d1208c3734e0 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 "virfilewrapper.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); + virFileWrapperAddPrefix(SYSFS_SYSTEM_PATH, sysfs_prefix); result =3D linuxTestCompareFiles(cpuinfo, data->arch, output); - virSysfsSetSystemPath(NULL); + virFileWrapperRemovePrefix(SYSFS_SYSTEM_PATH); cleanup: VIR_FREE(cpuinfo); diff --git a/tests/virnumamock.c b/tests/virnumamock.c index 210d15d6adf0..de76b2ec94fc 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, "%s/node/online", SYSFS_SYSTEM_PATH) = < 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, "%s/node/online", SYSFS_SYSTEM_PATH) = < 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,9 @@ virNumaGetNodeCPUs(int node, virBitmapPtr *cpus) int ret =3D -1; char *cpulist =3D NULL; - if (virSysfsGetNodeValueString(node, "cpulist", &cpulist) < 0) + if (virFileReadValueString(&cpulist, + "%s/node/node%u/cpulist", + SYSFS_SYSTEM_PATH, 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 Fri May 3 05:58:52 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 1493118693813590.3095953982958; Tue, 25 Apr 2017 04:11:33 -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 CD5C823E6CE; Tue, 25 Apr 2017 11:11:31 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A96EE7FEBC; Tue, 25 Apr 2017 11:11: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 662005EC67; Tue, 25 Apr 2017 11:11: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 v3PBAej1031907 for ; Tue, 25 Apr 2017 07:10:40 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8D66390DD2; Tue, 25 Apr 2017 11:10:40 +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 C9B0C17BA3; Tue, 25 Apr 2017 11:10:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CD5C823E6CE Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.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 CD5C823E6CE From: Martin Kletzander To: libvir-list@redhat.com Date: Tue, 25 Apr 2017 13:10:27 +0200 Message-Id: <2ba3df97b4b60580d09ca2a66d49434f539549e0.1493118089.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 v3 3/8] 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.29]); Tue, 25 Apr 2017 11:11:32 +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 Fri May 3 05:58:52 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 1493118697921967.3341950669497; Tue, 25 Apr 2017 04:11:37 -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 A95637E9C5; Tue, 25 Apr 2017 11:11:35 +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 7FCE990DC8; Tue, 25 Apr 2017 11:11: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 3089518523D4; Tue, 25 Apr 2017 11:11:35 +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 v3PBAfY4031912 for ; Tue, 25 Apr 2017 07:10:41 -0400 Received: by smtp.corp.redhat.com (Postfix) id A180690DD2; Tue, 25 Apr 2017 11:10:41 +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 D8D3817BA3; Tue, 25 Apr 2017 11:10:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A95637E9C5 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 A95637E9C5 From: Martin Kletzander To: libvir-list@redhat.com Date: Tue, 25 Apr 2017 13:10:28 +0200 Message-Id: <45786e396f6a1d79b528a1418a213be6eab971f2.1493118089.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 v3 4/8] 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 25 Apr 2017 11:11:36 +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 Fri May 3 05:58:52 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 1493118702001916.5768863906059; Tue, 25 Apr 2017 04:11:42 -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 D29EDC05AD70; Tue, 25 Apr 2017 11:11:39 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9521379C59; Tue, 25 Apr 2017 11:11: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 400E35EC69; Tue, 25 Apr 2017 11:11: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 v3PBAgjN031920 for ; Tue, 25 Apr 2017 07:10:42 -0400 Received: by smtp.corp.redhat.com (Postfix) id AD8F590DD1; Tue, 25 Apr 2017 11:10:42 +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 E8F0D17BA3; Tue, 25 Apr 2017 11:10:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D29EDC05AD70 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.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 D29EDC05AD70 From: Martin Kletzander To: libvir-list@redhat.com Date: Tue, 25 Apr 2017 13:10: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 v3 5/8] Add 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.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 25 Apr 2017 11:11:40 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" We're only adding only info about L3 caches, we can add more later (just by changing one line), but for now that's more than enough without overwhelming anyone. XML snippet of how this should look like (also seen as part of the commit): Signed-off-by: Martin Kletzander --- docs/schemas/capability.rng | 34 ++++ src/conf/capabilities.c | 204 ++++++++++++++++++++= ++++ src/conf/capabilities.h | 29 ++++ src/libvirt_private.syms | 1 + tests/vircaps2xmldata/vircaps-x86_64-caches.xml | 3 + tests/vircaps2xmltest.c | 3 +- 6 files changed, 273 insertions(+), 1 deletion(-) diff --git a/docs/schemas/capability.rng b/docs/schemas/capability.rng index 88e08d299ac9..26f0aa22bd3f 100644 --- a/docs/schemas/capability.rng +++ b/docs/schemas/capability.rng @@ -45,6 +45,9 @@ + + + @@ -248,6 +251,37 @@ + + + + + + + + + + + + + both + code + data + + + + + + + + + + + + + + + + diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c index 7ed76e65b1a1..c36ca4088976 100644 --- a/src/conf/capabilities.c +++ b/src/conf/capabilities.c @@ -50,6 +50,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 +239,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 +866,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 +1005,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 +1491,154 @@ virCapabilitiesInitPages(virCapsPtr caps) VIR_FREE(pages_size); return ret; } + +/* Cache name mapping for Linux kernel naming */ +VIR_ENUM_DECL(virCacheKernel); +VIR_ENUM_IMPL(virCacheKernel, VIR_CACHE_TYPE_LAST, + "Unified", + "Instruction", + "Data") + +/* Our naming for cache types and scopes */ +VIR_ENUM_IMPL(virCache, VIR_CACHE_TYPE_LAST, + "both", + "code", + "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, "%s/cpu/online", SYSFS_SYSTEM_PATH) = < 0) + return -1; + + while ((pos =3D virBitmapNextSetBit(cpus, pos)) >=3D 0) { + int rv =3D -1; + + VIR_FREE(path); + if (virAsprintf(&path, "%s/cpu/cpu%zd/cache/", SYSFS_SYSTEM_PATH, = 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 kernel_type; + unsigned int level; + + if (!STRPREFIX(ent->d_name, "index")) + continue; + + if (virFileReadValueUint(&level, + "%s/cpu/cpu%zd/cache/%s/level", + SYSFS_SYSTEM_PATH, pos, ent->d_name) = < 0) + goto cleanup; + + if (level < cache_min_level) + continue; + + if (VIR_ALLOC(bank) < 0) + goto cleanup; + + bank->level =3D level; + + if (virFileReadValueUint(&bank->id, + "%s/cpu/cpu%zd/cache/%s/id", + SYSFS_SYSTEM_PATH, pos, ent->d_name) = < 0) + goto cleanup; + + if (virFileReadValueUint(&bank->level, + "%s/cpu/cpu%zd/cache/%s/level", + SYSFS_SYSTEM_PATH, pos, ent->d_name) = < 0) + goto cleanup; + + if (virFileReadValueString(&type, + "%s/cpu/cpu%zd/cache/%s/type", + SYSFS_SYSTEM_PATH, pos, ent->d_name= ) < 0) + goto cleanup; + + if (virFileReadValueScaledInt(&bank->size, + "%s/cpu/cpu%zd/cache/%s/size", + SYSFS_SYSTEM_PATH, pos, ent->d_n= ame) < 0) + goto cleanup; + + if (virFileReadValueBitmap(&bank->cpus, + "%s/cpu/cpu%zd/cache/%s/shared_cpu_= list", + SYSFS_SYSTEM_PATH, pos, ent->d_name= ) < 0) + goto cleanup; + + kernel_type =3D virCacheKernelTypeFromString(type); + if (kernel_type < 0) { + virReportError(VIR_ERR_INTERNAL_ERROR, + _("Unknown cache type '%s'"), type); + VIR_FREE(type); + goto cleanup; + } + bank->type =3D kernel_type; + + 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); + bank =3D NULL; + } + 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..a8cccf7184a5 100644 --- a/src/conf/capabilities.h +++ b/src/conf/capabilities.h @@ -138,6 +138,26 @@ struct _virCapsHostSecModel { virCapsHostSecModelLabelPtr labels; }; +typedef enum { + VIR_CACHE_TYPE_BOTH, + VIR_CACHE_TYPE_CODE, + VIR_CACHE_TYPE_DATA, + + 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 5f98c5d52d9f..6b117b7a0c33 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..fe0be6d08fa7 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 6bf55aae5ba7..c957120aae44 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; virFileWrapperClearPrefixes(); --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Fri May 3 05:58:52 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 1493118673625682.8788143044579; Tue, 25 Apr 2017 04:11:13 -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 0507623E6C7; Tue, 25 Apr 2017 11:11:11 +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 AD9A890DD5; Tue, 25 Apr 2017 11:11:10 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id EE38418523D8; Tue, 25 Apr 2017 11:11:09 +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 v3PBAiDh031930 for ; Tue, 25 Apr 2017 07:10:44 -0400 Received: by smtp.corp.redhat.com (Postfix) id 0584B90DD2; Tue, 25 Apr 2017 11:10:44 +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 5910A17BA3; Tue, 25 Apr 2017 11:10:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0507623E6C7 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.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 0507623E6C7 From: Martin Kletzander To: libvir-list@redhat.com Date: Tue, 25 Apr 2017 13:10:30 +0200 Message-Id: <749905d2fe20779c88d5604a4e523d07a2d31db5.1493118089.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 v3 6/8] 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 25 Apr 2017 11:11:12 +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 cc3e1f808471..3f7f67f35719 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -1121,6 +1121,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 bdef78324385..b01e5ee92bb3 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 059e7c9f4d4e..9a429f495ed8 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 Fri May 3 05:58:52 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 1493118705989876.8878296982605; Tue, 25 Apr 2017 04:11:45 -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 B60D161D09; Tue, 25 Apr 2017 11:11:43 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8AA7E84DA4; Tue, 25 Apr 2017 11:11: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 35F395EC6C; Tue, 25 Apr 2017 11:11: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 v3PBAirb031942 for ; Tue, 25 Apr 2017 07:10:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id EF0DB90DD1; Tue, 25 Apr 2017 11:10:44 +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 5115017BA3; Tue, 25 Apr 2017 11:10:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B60D161D09 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 B60D161D09 From: Martin Kletzander To: libvir-list@redhat.com Date: Tue, 25 Apr 2017 13:10:31 +0200 Message-Id: <2fa4292544f4af0980f3983fc536bb89bcd48f12.1493118089.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 v3 7/8] 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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 25 Apr 2017 11:11: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 c957120aae44..675ed019a63b 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; virFileWrapperAddPrefix("/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 Fri May 3 05:58:52 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 1493118678246804.7728937196854; Tue, 25 Apr 2017 04:11:18 -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 A5E9285547; Tue, 25 Apr 2017 11:11: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 737437F589; Tue, 25 Apr 2017 11:11:15 +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 2801418523D5; Tue, 25 Apr 2017 11:11:15 +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 v3PBAlF8031953 for ; Tue, 25 Apr 2017 07:10:47 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1E2AE17BA3; Tue, 25 Apr 2017 11:10:47 +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 AE2F390DD1; Tue, 25 Apr 2017 11:10:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A5E9285547 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 A5E9285547 From: Martin Kletzander To: libvir-list@redhat.com Date: Tue, 25 Apr 2017 13:10: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 v3 8/8] 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]); Tue, 25 Apr 2017 11:11:16 +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..6677791321fe --- /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 675ed019a63b..137598e6724f 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