Bit more test data, this time with complete info copied, mainly with
cache information, so we can easily add tests for it.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
.../linux-caches/cpu/cpu0/cache/index0/level | 1 +
.../cpu/cpu0/cache/index0/shared_cpu_list | 1 +
.../cpu/cpu0/cache/index0/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu0/cache/index0/size | 1 +
.../linux-caches/cpu/cpu0/cache/index0/type | 1 +
.../linux-caches/cpu/cpu0/cache/index1/level | 1 +
.../cpu/cpu0/cache/index1/shared_cpu_list | 1 +
.../cpu/cpu0/cache/index1/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu0/cache/index1/size | 1 +
.../linux-caches/cpu/cpu0/cache/index1/type | 1 +
.../linux-caches/cpu/cpu0/cache/index2/level | 1 +
.../cpu/cpu0/cache/index2/shared_cpu_list | 1 +
.../cpu/cpu0/cache/index2/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu0/cache/index2/size | 1 +
.../linux-caches/cpu/cpu0/cache/index2/type | 1 +
.../linux-caches/cpu/cpu0/cache/index3/level | 1 +
.../cpu/cpu0/cache/index3/shared_cpu_list | 1 +
.../cpu/cpu0/cache/index3/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu0/cache/index3/size | 1 +
.../linux-caches/cpu/cpu0/cache/index3/type | 1 +
.../linux-caches/cpu/cpu0/topology/core_id | 1 +
.../linux-caches/cpu/cpu0/topology/core_siblings | 1 +
.../cpu/cpu0/topology/core_siblings_list | 1 +
.../cpu/cpu0/topology/physical_package_id | 1 +
.../linux-caches/cpu/cpu0/topology/thread_siblings | 1 +
.../cpu/cpu0/topology/thread_siblings_list | 1 +
.../linux-caches/cpu/cpu1/cache/index0/level | 1 +
.../cpu/cpu1/cache/index0/shared_cpu_list | 1 +
.../cpu/cpu1/cache/index0/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu1/cache/index0/size | 1 +
.../linux-caches/cpu/cpu1/cache/index0/type | 1 +
.../linux-caches/cpu/cpu1/cache/index1/level | 1 +
.../cpu/cpu1/cache/index1/shared_cpu_list | 1 +
.../cpu/cpu1/cache/index1/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu1/cache/index1/size | 1 +
.../linux-caches/cpu/cpu1/cache/index1/type | 1 +
.../linux-caches/cpu/cpu1/cache/index2/level | 1 +
.../cpu/cpu1/cache/index2/shared_cpu_list | 1 +
.../cpu/cpu1/cache/index2/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu1/cache/index2/size | 1 +
.../linux-caches/cpu/cpu1/cache/index2/type | 1 +
.../linux-caches/cpu/cpu1/cache/index3/level | 1 +
.../cpu/cpu1/cache/index3/shared_cpu_list | 1 +
.../cpu/cpu1/cache/index3/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu1/cache/index3/size | 1 +
.../linux-caches/cpu/cpu1/cache/index3/type | 1 +
.../linux-caches/cpu/cpu1/topology/core_id | 1 +
.../linux-caches/cpu/cpu1/topology/core_siblings | 1 +
.../cpu/cpu1/topology/core_siblings_list | 1 +
.../cpu/cpu1/topology/physical_package_id | 1 +
.../linux-caches/cpu/cpu1/topology/thread_siblings | 1 +
.../cpu/cpu1/topology/thread_siblings_list | 1 +
.../linux-caches/cpu/cpu2/cache/index0/level | 1 +
.../cpu/cpu2/cache/index0/shared_cpu_list | 1 +
.../cpu/cpu2/cache/index0/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu2/cache/index0/size | 1 +
.../linux-caches/cpu/cpu2/cache/index0/type | 1 +
.../linux-caches/cpu/cpu2/cache/index1/level | 1 +
.../cpu/cpu2/cache/index1/shared_cpu_list | 1 +
.../cpu/cpu2/cache/index1/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu2/cache/index1/size | 1 +
.../linux-caches/cpu/cpu2/cache/index1/type | 1 +
.../linux-caches/cpu/cpu2/cache/index2/level | 1 +
.../cpu/cpu2/cache/index2/shared_cpu_list | 1 +
.../cpu/cpu2/cache/index2/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu2/cache/index2/size | 1 +
.../linux-caches/cpu/cpu2/cache/index2/type | 1 +
.../linux-caches/cpu/cpu2/cache/index3/level | 1 +
.../cpu/cpu2/cache/index3/shared_cpu_list | 1 +
.../cpu/cpu2/cache/index3/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu2/cache/index3/size | 1 +
.../linux-caches/cpu/cpu2/cache/index3/type | 1 +
.../linux-caches/cpu/cpu2/topology/core_id | 1 +
.../linux-caches/cpu/cpu2/topology/core_siblings | 1 +
.../cpu/cpu2/topology/core_siblings_list | 1 +
.../cpu/cpu2/topology/physical_package_id | 1 +
.../linux-caches/cpu/cpu2/topology/thread_siblings | 1 +
.../cpu/cpu2/topology/thread_siblings_list | 1 +
.../linux-caches/cpu/cpu3/cache/index0/level | 1 +
.../cpu/cpu3/cache/index0/shared_cpu_list | 1 +
.../cpu/cpu3/cache/index0/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu3/cache/index0/size | 1 +
.../linux-caches/cpu/cpu3/cache/index0/type | 1 +
.../linux-caches/cpu/cpu3/cache/index1/level | 1 +
.../cpu/cpu3/cache/index1/shared_cpu_list | 1 +
.../cpu/cpu3/cache/index1/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu3/cache/index1/size | 1 +
.../linux-caches/cpu/cpu3/cache/index1/type | 1 +
.../linux-caches/cpu/cpu3/cache/index2/level | 1 +
.../cpu/cpu3/cache/index2/shared_cpu_list | 1 +
.../cpu/cpu3/cache/index2/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu3/cache/index2/size | 1 +
.../linux-caches/cpu/cpu3/cache/index2/type | 1 +
.../linux-caches/cpu/cpu3/cache/index3/level | 1 +
.../cpu/cpu3/cache/index3/shared_cpu_list | 1 +
.../cpu/cpu3/cache/index3/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu3/cache/index3/size | 1 +
.../linux-caches/cpu/cpu3/cache/index3/type | 1 +
.../linux-caches/cpu/cpu3/topology/core_id | 1 +
.../linux-caches/cpu/cpu3/topology/core_siblings | 1 +
.../cpu/cpu3/topology/core_siblings_list | 1 +
.../cpu/cpu3/topology/physical_package_id | 1 +
.../linux-caches/cpu/cpu3/topology/thread_siblings | 1 +
.../cpu/cpu3/topology/thread_siblings_list | 1 +
.../linux-caches/cpu/cpu4/cache/index0/level | 1 +
.../cpu/cpu4/cache/index0/shared_cpu_list | 1 +
.../cpu/cpu4/cache/index0/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu4/cache/index0/size | 1 +
.../linux-caches/cpu/cpu4/cache/index0/type | 1 +
.../linux-caches/cpu/cpu4/cache/index1/level | 1 +
.../cpu/cpu4/cache/index1/shared_cpu_list | 1 +
.../cpu/cpu4/cache/index1/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu4/cache/index1/size | 1 +
.../linux-caches/cpu/cpu4/cache/index1/type | 1 +
.../linux-caches/cpu/cpu4/cache/index2/level | 1 +
.../cpu/cpu4/cache/index2/shared_cpu_list | 1 +
.../cpu/cpu4/cache/index2/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu4/cache/index2/size | 1 +
.../linux-caches/cpu/cpu4/cache/index2/type | 1 +
.../linux-caches/cpu/cpu4/cache/index3/level | 1 +
.../cpu/cpu4/cache/index3/shared_cpu_list | 1 +
.../cpu/cpu4/cache/index3/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu4/cache/index3/size | 1 +
.../linux-caches/cpu/cpu4/cache/index3/type | 1 +
.../linux-caches/cpu/cpu4/topology/core_id | 1 +
.../linux-caches/cpu/cpu4/topology/core_siblings | 1 +
.../cpu/cpu4/topology/core_siblings_list | 1 +
.../cpu/cpu4/topology/physical_package_id | 1 +
.../linux-caches/cpu/cpu4/topology/thread_siblings | 1 +
.../cpu/cpu4/topology/thread_siblings_list | 1 +
.../linux-caches/cpu/cpu5/cache/index0/level | 1 +
.../cpu/cpu5/cache/index0/shared_cpu_list | 1 +
.../cpu/cpu5/cache/index0/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu5/cache/index0/size | 1 +
.../linux-caches/cpu/cpu5/cache/index0/type | 1 +
.../linux-caches/cpu/cpu5/cache/index1/level | 1 +
.../cpu/cpu5/cache/index1/shared_cpu_list | 1 +
.../cpu/cpu5/cache/index1/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu5/cache/index1/size | 1 +
.../linux-caches/cpu/cpu5/cache/index1/type | 1 +
.../linux-caches/cpu/cpu5/cache/index2/level | 1 +
.../cpu/cpu5/cache/index2/shared_cpu_list | 1 +
.../cpu/cpu5/cache/index2/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu5/cache/index2/size | 1 +
.../linux-caches/cpu/cpu5/cache/index2/type | 1 +
.../linux-caches/cpu/cpu5/cache/index3/level | 1 +
.../cpu/cpu5/cache/index3/shared_cpu_list | 1 +
.../cpu/cpu5/cache/index3/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu5/cache/index3/size | 1 +
.../linux-caches/cpu/cpu5/cache/index3/type | 1 +
.../linux-caches/cpu/cpu5/topology/core_id | 1 +
.../linux-caches/cpu/cpu5/topology/core_siblings | 1 +
.../cpu/cpu5/topology/core_siblings_list | 1 +
.../cpu/cpu5/topology/physical_package_id | 1 +
.../linux-caches/cpu/cpu5/topology/thread_siblings | 1 +
.../cpu/cpu5/topology/thread_siblings_list | 1 +
.../linux-caches/cpu/cpu6/cache/index0/level | 1 +
.../cpu/cpu6/cache/index0/shared_cpu_list | 1 +
.../cpu/cpu6/cache/index0/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu6/cache/index0/size | 1 +
.../linux-caches/cpu/cpu6/cache/index0/type | 1 +
.../linux-caches/cpu/cpu6/cache/index1/level | 1 +
.../cpu/cpu6/cache/index1/shared_cpu_list | 1 +
.../cpu/cpu6/cache/index1/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu6/cache/index1/size | 1 +
.../linux-caches/cpu/cpu6/cache/index1/type | 1 +
.../linux-caches/cpu/cpu6/cache/index2/level | 1 +
.../cpu/cpu6/cache/index2/shared_cpu_list | 1 +
.../cpu/cpu6/cache/index2/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu6/cache/index2/size | 1 +
.../linux-caches/cpu/cpu6/cache/index2/type | 1 +
.../linux-caches/cpu/cpu6/cache/index3/level | 1 +
.../cpu/cpu6/cache/index3/shared_cpu_list | 1 +
.../cpu/cpu6/cache/index3/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu6/cache/index3/size | 1 +
.../linux-caches/cpu/cpu6/cache/index3/type | 1 +
.../linux-caches/cpu/cpu6/topology/core_id | 1 +
.../linux-caches/cpu/cpu6/topology/core_siblings | 1 +
.../cpu/cpu6/topology/core_siblings_list | 1 +
.../cpu/cpu6/topology/physical_package_id | 1 +
.../linux-caches/cpu/cpu6/topology/thread_siblings | 1 +
.../cpu/cpu6/topology/thread_siblings_list | 1 +
.../linux-caches/cpu/cpu7/cache/index0/level | 1 +
.../cpu/cpu7/cache/index0/shared_cpu_list | 1 +
.../cpu/cpu7/cache/index0/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu7/cache/index0/size | 1 +
.../linux-caches/cpu/cpu7/cache/index0/type | 1 +
.../linux-caches/cpu/cpu7/cache/index1/level | 1 +
.../cpu/cpu7/cache/index1/shared_cpu_list | 1 +
.../cpu/cpu7/cache/index1/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu7/cache/index1/size | 1 +
.../linux-caches/cpu/cpu7/cache/index1/type | 1 +
.../linux-caches/cpu/cpu7/cache/index2/level | 1 +
.../cpu/cpu7/cache/index2/shared_cpu_list | 1 +
.../cpu/cpu7/cache/index2/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu7/cache/index2/size | 1 +
.../linux-caches/cpu/cpu7/cache/index2/type | 1 +
.../linux-caches/cpu/cpu7/cache/index3/level | 1 +
.../cpu/cpu7/cache/index3/shared_cpu_list | 1 +
.../cpu/cpu7/cache/index3/shared_cpu_map | 1 +
.../linux-caches/cpu/cpu7/cache/index3/size | 1 +
.../linux-caches/cpu/cpu7/cache/index3/type | 1 +
.../linux-caches/cpu/cpu7/topology/core_id | 1 +
.../linux-caches/cpu/cpu7/topology/core_siblings | 1 +
.../cpu/cpu7/topology/core_siblings_list | 1 +
.../cpu/cpu7/topology/physical_package_id | 1 +
.../linux-caches/cpu/cpu7/topology/thread_siblings | 1 +
.../cpu/cpu7/topology/thread_siblings_list | 1 +
tests/vircaps2xmldata/linux-caches/cpu/kernel_max | 1 +
tests/vircaps2xmldata/linux-caches/cpu/online | 1 +
tests/vircaps2xmldata/linux-caches/cpu/present | 1 +
tests/vircaps2xmldata/linux-caches/node/node0/cpu0 | 1 +
tests/vircaps2xmldata/linux-caches/node/node0/cpu1 | 1 +
tests/vircaps2xmldata/linux-caches/node/node0/cpu2 | 1 +
tests/vircaps2xmldata/linux-caches/node/node0/cpu3 | 1 +
tests/vircaps2xmldata/linux-caches/node/node0/cpu4 | 1 +
tests/vircaps2xmldata/linux-caches/node/node0/cpu5 | 1 +
tests/vircaps2xmldata/linux-caches/node/node0/cpu6 | 1 +
tests/vircaps2xmldata/linux-caches/node/node0/cpu7 | 1 +
.../linux-caches/node/node0/cpulist | 1 +
.../linux-caches/node/node0/meminfo | 31 ++++++++++++++++++++++
tests/vircaps2xmldata/linux-caches/node/online | 1 +
tests/vircaps2xmldata/linux-caches/node/possible | 1 +
tests/virhostcpudata/linux-caches1/cpu/offline | 1 +
tests/virhostcpudata/linux-caches1/cpu/possible | 1 +
225 files changed, 255 insertions(+)
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/physical_package_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/thread_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/thread_siblings_list
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/physical_package_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/thread_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/thread_siblings_list
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/physical_package_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/thread_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/thread_siblings_list
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/physical_package_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/thread_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/thread_siblings_list
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/physical_package_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/thread_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/thread_siblings_list
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/physical_package_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/thread_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/thread_siblings_list
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/physical_package_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/thread_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/thread_siblings_list
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/level
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_map
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/size
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/type
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings_list
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/physical_package_id
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/thread_siblings
create mode 100644
tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/thread_siblings_list
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/kernel_max
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/online
create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/present
create mode 120000 tests/vircaps2xmldata/linux-caches/node/node0/cpu0
create mode 120000 tests/vircaps2xmldata/linux-caches/node/node0/cpu1
create mode 120000 tests/vircaps2xmldata/linux-caches/node/node0/cpu2
create mode 120000 tests/vircaps2xmldata/linux-caches/node/node0/cpu3
create mode 120000 tests/vircaps2xmldata/linux-caches/node/node0/cpu4
create mode 120000 tests/vircaps2xmldata/linux-caches/node/node0/cpu5
create mode 120000 tests/vircaps2xmldata/linux-caches/node/node0/cpu6
create mode 120000 tests/vircaps2xmldata/linux-caches/node/node0/cpu7
create mode 100644 tests/vircaps2xmldata/linux-caches/node/node0/cpulist
create mode 100644 tests/vircaps2xmldata/linux-caches/node/node0/meminfo
create mode 100644 tests/vircaps2xmldata/linux-caches/node/online
create mode 100644 tests/vircaps2xmldata/linux-caches/node/possible
create mode 100644 tests/virhostcpudata/linux-caches1/cpu/offline
create mode 100644 tests/virhostcpudata/linux-caches1/cpu/possible
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_list
new file mode 100644
index 000000000000..d41d18ba0096
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_list
@@ -0,0 +1 @@
+0,4
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_map
new file mode 100644
index 000000000000..b4de39476753
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/shared_cpu_map
@@ -0,0 +1 @@
+11
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/type
new file mode 100644
index 000000000000..0b7088ec6330
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index0/type
@@ -0,0 +1 @@
+Data
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_list
new file mode 100644
index 000000000000..d41d18ba0096
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_list
@@ -0,0 +1 @@
+0,4
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_map
new file mode 100644
index 000000000000..b4de39476753
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/shared_cpu_map
@@ -0,0 +1 @@
+11
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/type
new file mode 100644
index 000000000000..9a53cbfa32a8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index1/type
@@ -0,0 +1 @@
+Instruction
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/level
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/level
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_list
new file mode 100644
index 000000000000..d41d18ba0096
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_list
@@ -0,0 +1 @@
+0,4
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_map
new file mode 100644
index 000000000000..b4de39476753
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/shared_cpu_map
@@ -0,0 +1 @@
+11
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/size
new file mode 100644
index 000000000000..7a3f37367c74
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/size
@@ -0,0 +1 @@
+256K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index2/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/level
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/level
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_map
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_map
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/size
new file mode 100644
index 000000000000..8800f263c055
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/size
@@ -0,0 +1 @@
+8192K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/physical_package_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/physical_package_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/physical_package_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/thread_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/thread_siblings
new file mode 100644
index 000000000000..b4de39476753
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/thread_siblings
@@ -0,0 +1 @@
+11
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/thread_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/thread_siblings_list
new file mode 100644
index 000000000000..d41d18ba0096
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/thread_siblings_list
@@ -0,0 +1 @@
+0,4
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_list
new file mode 100644
index 000000000000..cf141eb99931
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_list
@@ -0,0 +1 @@
+1,5
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_map
new file mode 100644
index 000000000000..2bd5a0a98a36
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/shared_cpu_map
@@ -0,0 +1 @@
+22
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/type
new file mode 100644
index 000000000000..0b7088ec6330
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index0/type
@@ -0,0 +1 @@
+Data
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_list
new file mode 100644
index 000000000000..cf141eb99931
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_list
@@ -0,0 +1 @@
+1,5
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_map
new file mode 100644
index 000000000000..2bd5a0a98a36
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/shared_cpu_map
@@ -0,0 +1 @@
+22
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/type
new file mode 100644
index 000000000000..9a53cbfa32a8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index1/type
@@ -0,0 +1 @@
+Instruction
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/level
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/level
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_list
new file mode 100644
index 000000000000..cf141eb99931
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_list
@@ -0,0 +1 @@
+1,5
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_map
new file mode 100644
index 000000000000..2bd5a0a98a36
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/shared_cpu_map
@@ -0,0 +1 @@
+22
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/size
new file mode 100644
index 000000000000..7a3f37367c74
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/size
@@ -0,0 +1 @@
+256K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index2/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/level
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/level
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_map
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_map
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/size
new file mode 100644
index 000000000000..8800f263c055
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/size
@@ -0,0 +1 @@
+8192K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_id
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_id
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/physical_package_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/physical_package_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/physical_package_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/thread_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/thread_siblings
new file mode 100644
index 000000000000..2bd5a0a98a36
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/thread_siblings
@@ -0,0 +1 @@
+22
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/thread_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/thread_siblings_list
new file mode 100644
index 000000000000..cf141eb99931
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu1/topology/thread_siblings_list
@@ -0,0 +1 @@
+1,5
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_list
new file mode 100644
index 000000000000..62188ed84ff3
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_list
@@ -0,0 +1 @@
+2,6
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_map
new file mode 100644
index 000000000000..c739b42c4d2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/shared_cpu_map
@@ -0,0 +1 @@
+44
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/type
new file mode 100644
index 000000000000..0b7088ec6330
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index0/type
@@ -0,0 +1 @@
+Data
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_list
new file mode 100644
index 000000000000..62188ed84ff3
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_list
@@ -0,0 +1 @@
+2,6
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_map
new file mode 100644
index 000000000000..c739b42c4d2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/shared_cpu_map
@@ -0,0 +1 @@
+44
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/type
new file mode 100644
index 000000000000..9a53cbfa32a8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index1/type
@@ -0,0 +1 @@
+Instruction
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/level
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/level
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_list
new file mode 100644
index 000000000000..62188ed84ff3
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_list
@@ -0,0 +1 @@
+2,6
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_map
new file mode 100644
index 000000000000..c739b42c4d2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/shared_cpu_map
@@ -0,0 +1 @@
+44
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/size
new file mode 100644
index 000000000000..7a3f37367c74
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/size
@@ -0,0 +1 @@
+256K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index2/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/level
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/level
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_map
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_map
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/size
new file mode 100644
index 000000000000..8800f263c055
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/size
@@ -0,0 +1 @@
+8192K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_id
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_id
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/physical_package_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/physical_package_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/physical_package_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/thread_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/thread_siblings
new file mode 100644
index 000000000000..c739b42c4d2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/thread_siblings
@@ -0,0 +1 @@
+44
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/thread_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/thread_siblings_list
new file mode 100644
index 000000000000..62188ed84ff3
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu2/topology/thread_siblings_list
@@ -0,0 +1 @@
+2,6
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_list
new file mode 100644
index 000000000000..62dcd5976571
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_list
@@ -0,0 +1 @@
+3,7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_map
new file mode 100644
index 000000000000..d22307c427b8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/shared_cpu_map
@@ -0,0 +1 @@
+88
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/type
new file mode 100644
index 000000000000..0b7088ec6330
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index0/type
@@ -0,0 +1 @@
+Data
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_list
new file mode 100644
index 000000000000..62dcd5976571
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_list
@@ -0,0 +1 @@
+3,7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_map
new file mode 100644
index 000000000000..d22307c427b8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/shared_cpu_map
@@ -0,0 +1 @@
+88
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/type
new file mode 100644
index 000000000000..9a53cbfa32a8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index1/type
@@ -0,0 +1 @@
+Instruction
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/level
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/level
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_list
new file mode 100644
index 000000000000..62dcd5976571
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_list
@@ -0,0 +1 @@
+3,7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_map
new file mode 100644
index 000000000000..d22307c427b8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/shared_cpu_map
@@ -0,0 +1 @@
+88
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/size
new file mode 100644
index 000000000000..7a3f37367c74
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/size
@@ -0,0 +1 @@
+256K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index2/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/level
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/level
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_map
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_map
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/size
new file mode 100644
index 000000000000..8800f263c055
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/size
@@ -0,0 +1 @@
+8192K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_id
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_id
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/physical_package_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/physical_package_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/physical_package_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/thread_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/thread_siblings
new file mode 100644
index 000000000000..d22307c427b8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/thread_siblings
@@ -0,0 +1 @@
+88
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/thread_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/thread_siblings_list
new file mode 100644
index 000000000000..62dcd5976571
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu3/topology/thread_siblings_list
@@ -0,0 +1 @@
+3,7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_list
new file mode 100644
index 000000000000..d41d18ba0096
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_list
@@ -0,0 +1 @@
+0,4
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_map
new file mode 100644
index 000000000000..b4de39476753
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/shared_cpu_map
@@ -0,0 +1 @@
+11
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/type
new file mode 100644
index 000000000000..0b7088ec6330
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index0/type
@@ -0,0 +1 @@
+Data
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_list
new file mode 100644
index 000000000000..d41d18ba0096
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_list
@@ -0,0 +1 @@
+0,4
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_map
new file mode 100644
index 000000000000..b4de39476753
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/shared_cpu_map
@@ -0,0 +1 @@
+11
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/type
new file mode 100644
index 000000000000..9a53cbfa32a8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index1/type
@@ -0,0 +1 @@
+Instruction
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/level
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/level
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_list
new file mode 100644
index 000000000000..d41d18ba0096
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_list
@@ -0,0 +1 @@
+0,4
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_map
new file mode 100644
index 000000000000..b4de39476753
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/shared_cpu_map
@@ -0,0 +1 @@
+11
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/size
new file mode 100644
index 000000000000..7a3f37367c74
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/size
@@ -0,0 +1 @@
+256K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index2/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/level
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/level
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_map
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_map
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/size
new file mode 100644
index 000000000000..8800f263c055
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/size
@@ -0,0 +1 @@
+8192K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/physical_package_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/physical_package_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/physical_package_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/thread_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/thread_siblings
new file mode 100644
index 000000000000..b4de39476753
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/thread_siblings
@@ -0,0 +1 @@
+11
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/thread_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/thread_siblings_list
new file mode 100644
index 000000000000..d41d18ba0096
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/thread_siblings_list
@@ -0,0 +1 @@
+0,4
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_list
new file mode 100644
index 000000000000..cf141eb99931
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_list
@@ -0,0 +1 @@
+1,5
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_map
new file mode 100644
index 000000000000..2bd5a0a98a36
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/shared_cpu_map
@@ -0,0 +1 @@
+22
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/type
new file mode 100644
index 000000000000..0b7088ec6330
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index0/type
@@ -0,0 +1 @@
+Data
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_list
new file mode 100644
index 000000000000..cf141eb99931
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_list
@@ -0,0 +1 @@
+1,5
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_map
new file mode 100644
index 000000000000..2bd5a0a98a36
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/shared_cpu_map
@@ -0,0 +1 @@
+22
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/type
new file mode 100644
index 000000000000..9a53cbfa32a8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index1/type
@@ -0,0 +1 @@
+Instruction
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/level
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/level
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_list
new file mode 100644
index 000000000000..cf141eb99931
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_list
@@ -0,0 +1 @@
+1,5
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_map
new file mode 100644
index 000000000000..2bd5a0a98a36
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/shared_cpu_map
@@ -0,0 +1 @@
+22
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/size
new file mode 100644
index 000000000000..7a3f37367c74
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/size
@@ -0,0 +1 @@
+256K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index2/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/level
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/level
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_map
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_map
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/size
new file mode 100644
index 000000000000..8800f263c055
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/size
@@ -0,0 +1 @@
+8192K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_id
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_id
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/physical_package_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/physical_package_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/physical_package_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/thread_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/thread_siblings
new file mode 100644
index 000000000000..2bd5a0a98a36
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/thread_siblings
@@ -0,0 +1 @@
+22
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/thread_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/thread_siblings_list
new file mode 100644
index 000000000000..cf141eb99931
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu5/topology/thread_siblings_list
@@ -0,0 +1 @@
+1,5
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_list
new file mode 100644
index 000000000000..62188ed84ff3
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_list
@@ -0,0 +1 @@
+2,6
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_map
new file mode 100644
index 000000000000..c739b42c4d2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/shared_cpu_map
@@ -0,0 +1 @@
+44
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/type
new file mode 100644
index 000000000000..0b7088ec6330
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index0/type
@@ -0,0 +1 @@
+Data
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_list
new file mode 100644
index 000000000000..62188ed84ff3
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_list
@@ -0,0 +1 @@
+2,6
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_map
new file mode 100644
index 000000000000..c739b42c4d2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/shared_cpu_map
@@ -0,0 +1 @@
+44
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/type
new file mode 100644
index 000000000000..9a53cbfa32a8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index1/type
@@ -0,0 +1 @@
+Instruction
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/level
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/level
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_list
new file mode 100644
index 000000000000..62188ed84ff3
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_list
@@ -0,0 +1 @@
+2,6
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_map
new file mode 100644
index 000000000000..c739b42c4d2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/shared_cpu_map
@@ -0,0 +1 @@
+44
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/size
new file mode 100644
index 000000000000..7a3f37367c74
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/size
@@ -0,0 +1 @@
+256K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index2/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/level
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/level
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_map
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_map
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/size
new file mode 100644
index 000000000000..8800f263c055
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/size
@@ -0,0 +1 @@
+8192K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_id
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_id
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/physical_package_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/physical_package_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/physical_package_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/thread_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/thread_siblings
new file mode 100644
index 000000000000..c739b42c4d2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/thread_siblings
@@ -0,0 +1 @@
+44
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/thread_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/thread_siblings_list
new file mode 100644
index 000000000000..62188ed84ff3
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu6/topology/thread_siblings_list
@@ -0,0 +1 @@
+2,6
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_list
new file mode 100644
index 000000000000..62dcd5976571
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_list
@@ -0,0 +1 @@
+3,7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_map
new file mode 100644
index 000000000000..d22307c427b8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/shared_cpu_map
@@ -0,0 +1 @@
+88
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/type
new file mode 100644
index 000000000000..0b7088ec6330
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index0/type
@@ -0,0 +1 @@
+Data
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/level
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/level
@@ -0,0 +1 @@
+1
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_list
new file mode 100644
index 000000000000..62dcd5976571
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_list
@@ -0,0 +1 @@
+3,7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_map
new file mode 100644
index 000000000000..d22307c427b8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/shared_cpu_map
@@ -0,0 +1 @@
+88
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/size
new file mode 100644
index 000000000000..56b868b2a363
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/size
@@ -0,0 +1 @@
+32K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/type
new file mode 100644
index 000000000000..9a53cbfa32a8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index1/type
@@ -0,0 +1 @@
+Instruction
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/level
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/level
@@ -0,0 +1 @@
+2
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_list
new file mode 100644
index 000000000000..62dcd5976571
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_list
@@ -0,0 +1 @@
+3,7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_map
new file mode 100644
index 000000000000..d22307c427b8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/shared_cpu_map
@@ -0,0 +1 @@
+88
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/size
new file mode 100644
index 000000000000..7a3f37367c74
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/size
@@ -0,0 +1 @@
+256K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index2/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/level
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/level
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/level
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_map
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_map
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_map
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/size
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/size
new file mode 100644
index 000000000000..8800f263c055
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/size
@@ -0,0 +1 @@
+8192K
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/type
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/type
new file mode 100644
index 000000000000..e4fd9dccda2c
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/type
@@ -0,0 +1 @@
+Unified
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_id
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_id
@@ -0,0 +1 @@
+3
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings
new file mode 100644
index 000000000000..fcd15acf93ca
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings
@@ -0,0 +1 @@
+ff
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings_list
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings_list
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/physical_package_id
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/physical_package_id
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/physical_package_id
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/thread_siblings
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/thread_siblings
new file mode 100644
index 000000000000..d22307c427b8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/thread_siblings
@@ -0,0 +1 @@
+88
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/thread_siblings_list
b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/thread_siblings_list
new file mode 100644
index 000000000000..62dcd5976571
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/cpu7/topology/thread_siblings_list
@@ -0,0 +1 @@
+3,7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/kernel_max
b/tests/vircaps2xmldata/linux-caches/cpu/kernel_max
new file mode 100644
index 000000000000..4b9026d8e2aa
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/kernel_max
@@ -0,0 +1 @@
+63
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/online
b/tests/vircaps2xmldata/linux-caches/cpu/online
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/online
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/cpu/present
b/tests/vircaps2xmldata/linux-caches/cpu/present
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/cpu/present
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpu0
b/tests/vircaps2xmldata/linux-caches/node/node0/cpu0
new file mode 120000
index 000000000000..c841bea28b2b
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpu0
@@ -0,0 +1 @@
+../../cpu/cpu0
\ No newline at end of file
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpu1
b/tests/vircaps2xmldata/linux-caches/node/node0/cpu1
new file mode 120000
index 000000000000..5f4536279e70
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpu1
@@ -0,0 +1 @@
+../../cpu/cpu1
\ No newline at end of file
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpu2
b/tests/vircaps2xmldata/linux-caches/node/node0/cpu2
new file mode 120000
index 000000000000..2dcca332cecb
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpu2
@@ -0,0 +1 @@
+../../cpu/cpu2
\ No newline at end of file
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpu3
b/tests/vircaps2xmldata/linux-caches/node/node0/cpu3
new file mode 120000
index 000000000000..c7690e5aa678
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpu3
@@ -0,0 +1 @@
+../../cpu/cpu3
\ No newline at end of file
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpu4
b/tests/vircaps2xmldata/linux-caches/node/node0/cpu4
new file mode 120000
index 000000000000..9e77a64eb4c8
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpu4
@@ -0,0 +1 @@
+../../cpu/cpu4
\ No newline at end of file
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpu5
b/tests/vircaps2xmldata/linux-caches/node/node0/cpu5
new file mode 120000
index 000000000000..cc07c3b97bfe
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpu5
@@ -0,0 +1 @@
+../../cpu/cpu5
\ No newline at end of file
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpu6
b/tests/vircaps2xmldata/linux-caches/node/node0/cpu6
new file mode 120000
index 000000000000..2e7576354f93
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpu6
@@ -0,0 +1 @@
+../../cpu/cpu6
\ No newline at end of file
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpu7
b/tests/vircaps2xmldata/linux-caches/node/node0/cpu7
new file mode 120000
index 000000000000..09e3f79b43d1
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpu7
@@ -0,0 +1 @@
+../../cpu/cpu7
\ No newline at end of file
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/cpulist
b/tests/vircaps2xmldata/linux-caches/node/node0/cpulist
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/cpulist
@@ -0,0 +1 @@
+0-7
diff --git a/tests/vircaps2xmldata/linux-caches/node/node0/meminfo
b/tests/vircaps2xmldata/linux-caches/node/node0/meminfo
new file mode 100644
index 000000000000..d24ace03a8bf
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/node0/meminfo
@@ -0,0 +1,31 @@
+Node 0 MemTotal: 32817236 kB
+Node 0 MemFree: 24057312 kB
+Node 0 MemUsed: 8759924 kB
+Node 0 Active: 5781052 kB
+Node 0 Inactive: 2057944 kB
+Node 0 Active(anon): 3647840 kB
+Node 0 Inactive(anon): 639564 kB
+Node 0 Active(file): 2133212 kB
+Node 0 Inactive(file): 1418380 kB
+Node 0 Unevictable: 8108 kB
+Node 0 Mlocked: 8108 kB
+Node 0 Dirty: 1476 kB
+Node 0 Writeback: 0 kB
+Node 0 FilePages: 4295156 kB
+Node 0 Mapped: 658508 kB
+Node 0 AnonPages: 2629172 kB
+Node 0 Shmem: 737060 kB
+Node 0 KernelStack: 8352 kB
+Node 0 PageTables: 27724 kB
+Node 0 NFS_Unstable: 0 kB
+Node 0 Bounce: 0 kB
+Node 0 WritebackTmp: 0 kB
+Node 0 Slab: 749584 kB
+Node 0 SReclaimable: 704676 kB
+Node 0 SUnreclaim: 44908 kB
+Node 0 AnonHugePages: 546816 kB
+Node 0 ShmemHugePages: 0 kB
+Node 0 ShmemPmdMapped: 0 kB
+Node 0 HugePages_Total: 0
+Node 0 HugePages_Free: 0
+Node 0 HugePages_Surp: 0
diff --git a/tests/vircaps2xmldata/linux-caches/node/online
b/tests/vircaps2xmldata/linux-caches/node/online
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/online
@@ -0,0 +1 @@
+0
diff --git a/tests/vircaps2xmldata/linux-caches/node/possible
b/tests/vircaps2xmldata/linux-caches/node/possible
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/tests/vircaps2xmldata/linux-caches/node/possible
@@ -0,0 +1 @@
+0
diff --git a/tests/virhostcpudata/linux-caches1/cpu/offline
b/tests/virhostcpudata/linux-caches1/cpu/offline
new file mode 100644
index 000000000000..8b137891791f
--- /dev/null
+++ b/tests/virhostcpudata/linux-caches1/cpu/offline
@@ -0,0 +1 @@
+
diff --git a/tests/virhostcpudata/linux-caches1/cpu/possible
b/tests/virhostcpudata/linux-caches1/cpu/possible
new file mode 100644
index 000000000000..74fc2fb6b048
--- /dev/null
+++ b/tests/virhostcpudata/linux-caches1/cpu/possible
@@ -0,0 +1 @@
+0-7
--
2.12.0