[PATCH v2 00/12] Rework sysfs handling

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

 



So during a discussion [1] with Erik, I got an idea.  And this is
basically it.  Reading and using kernel-interface-like files in an easy
fashion and being able to easily mock them were two goals that, in my
not so humble opinion, I reached.

The previous version [2] is actually nor related to this one that much
as this one is a complete rewrite except the trivial fixes and test
additions from the next one.

[1] https://www.redhat.com/archives/libvir-list/2017-April/msg00040.html
[2] https://www.redhat.com/archives/libvir-list/2017-March/msg01592.html


Martin Kletzander (12):
  conf: Fix possible memleak in capabilities
  util: Fix virDirRead() description
  util: Add virStringTrimOptionalNewline
  tests: Add virfilemock -- the new super mock
  util: Remove virsysfs and instead enhance virFileReadValue* functions
  tests: Test vircaps2xmldata XMLs in virschematest
  tests: Add missing cache data for vircaps2xmltest
  Add RNG schema for host cache information in capabilities
  Add host cache information into capabilities
  Init host cache info in drivers
  tests: Add support for more complicated hierarchies in vircaps2xmltest
  tests: Add resctrl test for vircaps2xmltest

 cfg.mk                                             |   2 +-
 docs/schemas/capability.rng                        |  34 +++
 src/Makefile.am                                    |   2 -
 src/conf/capabilities.c                            | 207 ++++++++++++++-
 src/conf/capabilities.h                            |  29 +++
 src/libvirt_private.syms                           |  17 +-
 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/util/virfile.c                                 | 222 ++++++++++++----
 src/util/virfile.h                                 |  14 +-
 src/util/virhostcpu.c                              |  47 ++--
 src/util/virstring.h                               |   8 +
 src/util/virsysfs.c                                | 229 -----------------
 src/util/virsysfs.h                                |  70 -----
 src/vbox/vbox_common.c                             |   3 +
 src/vmware/vmware_conf.c                           |   3 +
 src/vz/vz_driver.c                                 |   2 +
 tests/Makefile.am                                  |   5 +-
 .../linux-caches/cpu/cpu0/cache/index0/id          |   1 +
 .../cpu/cpu0/cache/index0/shared_cpu_list          |   2 +-
 .../cpu/cpu0/cache/index0/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu0/cache/index1/id          |   1 +
 .../cpu/cpu0/cache/index1/shared_cpu_list          |   2 +-
 .../cpu/cpu0/cache/index1/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu0/cache/index2/id          |   1 +
 .../cpu/cpu0/cache/index2/shared_cpu_list          |   2 +-
 .../cpu/cpu0/cache/index2/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu0/cache/index3/id          |   1 +
 .../linux-caches/cpu/cpu1/cache/index0/id          |   1 +
 .../cpu/cpu1/cache/index0/shared_cpu_list          |   2 +-
 .../cpu/cpu1/cache/index0/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu1/cache/index1/id          |   1 +
 .../cpu/cpu1/cache/index1/shared_cpu_list          |   2 +-
 .../cpu/cpu1/cache/index1/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu1/cache/index2/id          |   1 +
 .../cpu/cpu1/cache/index2/shared_cpu_list          |   2 +-
 .../cpu/cpu1/cache/index2/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu1/cache/index3/id          |   1 +
 .../linux-caches/cpu/cpu2/cache/index0/id          |   1 +
 .../cpu/cpu2/cache/index0/shared_cpu_list          |   2 +-
 .../cpu/cpu2/cache/index0/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu2/cache/index1/id          |   1 +
 .../cpu/cpu2/cache/index1/shared_cpu_list          |   2 +-
 .../cpu/cpu2/cache/index1/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu2/cache/index2/id          |   1 +
 .../cpu/cpu2/cache/index2/shared_cpu_list          |   2 +-
 .../cpu/cpu2/cache/index2/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu2/cache/index3/id          |   1 +
 .../linux-caches/cpu/cpu3/cache/index0/id          |   1 +
 .../cpu/cpu3/cache/index0/shared_cpu_list          |   2 +-
 .../cpu/cpu3/cache/index0/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu3/cache/index1/id          |   1 +
 .../cpu/cpu3/cache/index1/shared_cpu_list          |   2 +-
 .../cpu/cpu3/cache/index1/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu3/cache/index2/id          |   1 +
 .../cpu/cpu3/cache/index2/shared_cpu_list          |   2 +-
 .../cpu/cpu3/cache/index2/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu3/cache/index3/id          |   1 +
 .../linux-caches/cpu/cpu4/cache/index0/id          |   1 +
 .../cpu/cpu4/cache/index0/shared_cpu_list          |   2 +-
 .../cpu/cpu4/cache/index0/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu4/cache/index1/id          |   1 +
 .../cpu/cpu4/cache/index1/shared_cpu_list          |   2 +-
 .../cpu/cpu4/cache/index1/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu4/cache/index2/id          |   1 +
 .../cpu/cpu4/cache/index2/shared_cpu_list          |   2 +-
 .../cpu/cpu4/cache/index2/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu4/cache/index3/id          |   1 +
 .../linux-caches/cpu/cpu5/cache/index0/id          |   1 +
 .../cpu/cpu5/cache/index0/shared_cpu_list          |   2 +-
 .../cpu/cpu5/cache/index0/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu5/cache/index1/id          |   1 +
 .../cpu/cpu5/cache/index1/shared_cpu_list          |   2 +-
 .../cpu/cpu5/cache/index1/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu5/cache/index2/id          |   1 +
 .../cpu/cpu5/cache/index2/shared_cpu_list          |   2 +-
 .../cpu/cpu5/cache/index2/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu5/cache/index3/id          |   1 +
 .../linux-caches/cpu/cpu6/cache/index0/id          |   1 +
 .../cpu/cpu6/cache/index0/shared_cpu_list          |   2 +-
 .../cpu/cpu6/cache/index0/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu6/cache/index1/id          |   1 +
 .../cpu/cpu6/cache/index1/shared_cpu_list          |   2 +-
 .../cpu/cpu6/cache/index1/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu6/cache/index2/id          |   1 +
 .../cpu/cpu6/cache/index2/shared_cpu_list          |   2 +-
 .../cpu/cpu6/cache/index2/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu6/cache/index3/id          |   1 +
 .../linux-caches/cpu/cpu7/cache/index0/id          |   1 +
 .../cpu/cpu7/cache/index0/shared_cpu_list          |   2 +-
 .../cpu/cpu7/cache/index0/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu7/cache/index1/id          |   1 +
 .../cpu/cpu7/cache/index1/shared_cpu_list          |   2 +-
 .../cpu/cpu7/cache/index1/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu7/cache/index2/id          |   1 +
 .../cpu/cpu7/cache/index2/shared_cpu_list          |   2 +-
 .../cpu/cpu7/cache/index2/shared_cpu_map           |   2 +-
 .../linux-caches/cpu/cpu7/cache/index3/id          |   1 +
 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} |   0
 .../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} |   0
 .../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} |   0
 .../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 +
 .../cpu/cpu11/topology/thread_siblings_list}       |   0
 .../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 +
 .../system/cpu/cpu9/cache/index0/id}               |   0
 .../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 +
 .../system/cpu/cpu9/cache/index1/id}               |   0
 .../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 +
 .../system/cpu/cpu9/cache/index2/id}               |   0
 .../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-caches.xml    |   3 +
 tests/vircaps2xmldata/vircaps-x86_64-resctrl.xml   |  49 ++++
 tests/vircaps2xmltest.c                            |  31 ++-
 tests/virfilemock.c                                | 281 +++++++++++++++++++++
 src/util/virsysfspriv.h => tests/virfilemock.h     |  19 +-
 tests/virhostcputest.c                             |   8 +-
 tests/virnumamock.c                                |  15 +-
 tests/virschematest.c                              |   3 +-
 523 files changed, 1386 insertions(+), 465 deletions(-)
 delete mode 100644 src/util/virsysfs.c
 delete mode 100644 src/util/virsysfs.h
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/id
 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/cpus
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/schemata
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/manualres/tasks
 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/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu0/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu1/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu10/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/level
 copy tests/vircaps2xmldata/{linux-caches/cpu/cpu0/cache/index0/shared_cpu_map => linux-resctrl/system/cpu/cpu11/cache/index0/shared_cpu_list} (100%)
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/level
 copy tests/vircaps2xmldata/{linux-caches/cpu/cpu0/cache/index0/shared_cpu_map => linux-resctrl/system/cpu/cpu11/cache/index1/shared_cpu_list} (100%)
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/level
 copy tests/vircaps2xmldata/{linux-caches/cpu/cpu0/cache/index0/shared_cpu_map => linux-resctrl/system/cpu/cpu11/cache/index2/shared_cpu_list} (100%)
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu11/topology/thread_siblings
 copy tests/vircaps2xmldata/{linux-caches/cpu/cpu0/cache/index0/shared_cpu_map => linux-resctrl/system/cpu/cpu11/topology/thread_siblings_list} (100%)
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu2/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu3/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu4/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu5/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu6/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu7/topology/thread_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index0/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index1/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu8/topology/thread_siblings_list
 copy tests/vircaps2xmldata/{linux-caches/cpu/cpu0/cache/index0/shared_cpu_map => linux-resctrl/system/cpu/cpu9/cache/index0/id} (100%)
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index0/type
 copy tests/vircaps2xmldata/{linux-caches/cpu/cpu0/cache/index0/shared_cpu_map => linux-resctrl/system/cpu/cpu9/cache/index1/id} (100%)
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index1/type
 copy tests/vircaps2xmldata/{linux-caches/cpu/cpu0/cache/index0/shared_cpu_map => linux-resctrl/system/cpu/cpu9/cache/index2/id} (100%)
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index2/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/level
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/shared_cpu_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/shared_cpu_map
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/size
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/cache/index3/type
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/online
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/core_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/core_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/core_siblings_list
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/physical_package_id
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/thread_siblings
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/cpu/cpu9/topology/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/cpu0
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu1
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu2
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu3
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu4
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpu5
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpulist
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/cpumap
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/distance
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugepages-1048576kB/free_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugepages-1048576kB/surplus_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugepages-2048kB/free_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node0/hugepages/hugepages-2048kB/surplus_hugepages
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu10
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu11
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu6
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu7
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu8
 create mode 120000 tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpu9
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpulist
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/cpumap
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/distance
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugepages-1048576kB/free_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugepages-1048576kB/nr_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugepages-1048576kB/surplus_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugepages-2048kB/free_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/node1/hugepages/hugepages-2048kB/surplus_hugepages
 create mode 100644 tests/vircaps2xmldata/linux-resctrl/system/node/online
 create mode 100644 tests/vircaps2xmldata/vircaps-x86_64-resctrl.xml
 create mode 100644 tests/virfilemock.c
 rename src/util/virsysfspriv.h => tests/virfilemock.h (70%)

--
2.12.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux