On 24.03.2017 19:59, Martin Kletzander wrote:
Don't get pushed away just because it is 23 patches. They are almost one-liners. Just a lot of stuff I got dragged into, lot of rabbit holes where I reached the end, basically lot of side fixes. That's mostly due to one of the bigger changes being removed from the series completely about two days ago when I realized I'm not spending week of fixing terribly tricky stuff just so we can test one more teeny tiny thing that's not even needed (which I realized way too late). The patches are available on github: https://github.com/nertpinx/libvirt -- branch pre-cat The patches should be *really* nice to review, and there's lot of cleanups. The only reason for this patch-series to add more lines than remove them, is because it adds tests. And tests are good and yummy. Me like tests... Yeah, I guess it's Friday, 8PM. I should go home... Bye. Martin Kletzander (23): Add virNumaGetNodeCPUs to private syms Introduce virCPUProbeHost Expose virCapabilitiesFreeGuest vmware: Fix some initialization problems cpu: Don't use prefixes for no reason syms: Add one newline to make things consistent tests: Fix indentation in virhostcputest vz: Do not use magic constants when building capabilities Separate syms based on files they are defined in openvz: Ditch openvzGetNodeCPUs tests: Remove some unneeded files virfile: Add helpers for reading simple values tests: Add cpu/{online,present} files for old tests util: Add virsysfs for handling sysfs files util: Adapt virhostcpu to the new virsysfs Move src/fdstream to src/util/virfdstream Remove src/nodeinfo util: Fix naming in util/virnodesuspend Change virQEMUCapsInitPages to virCapabilitiesInitPages tests: Add sysfs node/cpu topology for the only vircaps2xml testcase tests: Add linux-caches sysfs entries for vircaps2xmltest tests: Add virnumamock tests: Enhance vircaps2xml test cfg.mk | 2 +- po/POTFILES.in | 3 +- src/Makefile.am | 7 +- src/bhyve/bhyve_capabilities.c | 20 +- src/bhyve/bhyve_driver.c | 7 +- src/conf/capabilities.c | 317 +++++++++++++++- src/conf/capabilities.h | 9 + src/conf/virchrdev.c | 2 +- src/cpu/cpu.c | 15 +- src/cpu/cpu.h | 5 +- src/libvirt_linux.syms | 1 - src/libvirt_private.syms | 93 +++-- src/libxl/libxl_migration.c | 2 +- src/lxc/lxc_conf.c | 3 +- src/lxc/lxc_driver.c | 7 +- src/nodeinfo.c | 418 --------------------- src/openvz/openvz_conf.c | 17 +- src/openvz/openvz_conf.h | 1 - src/openvz/openvz_driver.c | 5 +- src/phyp/phyp_driver.c | 3 +- src/qemu/qemu_capabilities.c | 43 +-- src/qemu/qemu_conf.c | 1 - src/qemu/qemu_driver.c | 7 +- src/qemu/qemu_migration.c | 2 +- src/storage/storage_driver.c | 2 +- src/storage/storage_util.c | 2 +- src/test/test_driver.c | 2 +- src/uml/uml_conf.c | 3 +- src/uml/uml_driver.c | 7 +- src/{fdstream.c => util/virfdstream.c} | 4 +- src/{fdstream.h => util/virfdstream.h} | 2 +- src/util/virfile.c | 83 ++++ src/util/virfile.h | 6 + src/util/virhostcpu.c | 345 +++++------------ src/util/virhostcpu.h | 7 +- src/util/virhostcpupriv.h | 2 - src/util/virnodesuspend.c | 20 +- src/util/virnodesuspend.h | 6 +- src/util/virsysfs.c | 229 +++++++++++ src/util/virsysfs.h | 70 ++++ src/{nodeinfo.h => util/virsysfspriv.h} | 18 +- src/vbox/vbox_common.c | 7 +- src/vmware/vmware_conf.c | 20 +- src/vz/vz_driver.c | 16 +- src/vz/vz_sdk.c | 1 - src/xen/xen_driver.c | 5 +- tests/Makefile.am | 7 + tests/commandtest.c | 1 - tests/fdstreamtest.c | 2 +- .../linux-basic/cpu/cpu0/topology/core_id} | 0 .../linux-basic/cpu/cpu0/topology/core_siblings | 1 + .../cpu/cpu0/topology/core_siblings_list | 1 + .../cpu/cpu0/topology/physical_package_id} | 0 .../linux-basic/cpu/cpu0/topology/thread_siblings | 1 + .../cpu/cpu0/topology/thread_siblings_list} | 0 .../linux-basic/cpu/cpu1/topology/core_id | 1 + .../linux-basic/cpu/cpu1/topology/core_siblings | 1 + .../cpu/cpu1/topology/core_siblings_list | 1 + .../cpu/cpu1/topology/physical_package_id} | 0 .../linux-basic/cpu/cpu1/topology/thread_siblings | 1 + .../cpu/cpu1/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu10/topology/core_id | 1 + .../linux-basic/cpu/cpu10/topology/core_siblings | 1 + .../cpu/cpu10/topology/core_siblings_list | 1 + .../cpu/cpu10/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu10/topology/thread_siblings | 1 + .../cpu/cpu10/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu11/topology/core_id | 1 + .../linux-basic/cpu/cpu11/topology/core_siblings | 1 + .../cpu/cpu11/topology/core_siblings_list | 1 + .../cpu/cpu11/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu11/topology/thread_siblings | 1 + .../cpu/cpu11/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu12/topology/core_id | 1 + .../linux-basic/cpu/cpu12/topology/core_siblings | 1 + .../cpu/cpu12/topology/core_siblings_list | 1 + .../cpu/cpu12/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu12/topology/thread_siblings | 1 + .../cpu/cpu12/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu13/topology/core_id | 1 + .../linux-basic/cpu/cpu13/topology/core_siblings | 1 + .../cpu/cpu13/topology/core_siblings_list | 1 + .../cpu/cpu13/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu13/topology/thread_siblings | 1 + .../cpu/cpu13/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu14/topology/core_id | 1 + .../linux-basic/cpu/cpu14/topology/core_siblings | 1 + .../cpu/cpu14/topology/core_siblings_list | 1 + .../cpu/cpu14/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu14/topology/thread_siblings | 1 + .../cpu/cpu14/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu15/topology/core_id | 1 + .../linux-basic/cpu/cpu15/topology/core_siblings | 1 + .../cpu/cpu15/topology/core_siblings_list | 1 + .../cpu/cpu15/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu15/topology/thread_siblings | 1 + .../cpu/cpu15/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu2/topology/core_id | 1 + .../linux-basic/cpu/cpu2/topology/core_siblings | 1 + .../cpu/cpu2/topology/core_siblings_list | 1 + .../cpu/cpu2/topology/physical_package_id} | 0 .../linux-basic/cpu/cpu2/topology/thread_siblings | 1 + .../cpu/cpu2/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu3/topology/core_id | 1 + .../linux-basic/cpu/cpu3/topology/core_siblings | 1 + .../cpu/cpu3/topology/core_siblings_list | 1 + .../cpu/cpu3/topology/physical_package_id} | 0 .../linux-basic/cpu/cpu3/topology/thread_siblings | 1 + .../cpu/cpu3/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu4/topology/core_id | 1 + .../linux-basic/cpu/cpu4/topology/core_siblings | 1 + .../cpu/cpu4/topology/core_siblings_list | 1 + .../cpu/cpu4/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu4/topology/thread_siblings | 1 + .../cpu/cpu4/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu5/topology/core_id | 1 + .../linux-basic/cpu/cpu5/topology/core_siblings | 1 + .../cpu/cpu5/topology/core_siblings_list | 1 + .../cpu/cpu5/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu5/topology/thread_siblings | 1 + .../cpu/cpu5/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu6/topology/core_id | 1 + .../linux-basic/cpu/cpu6/topology/core_siblings | 1 + .../cpu/cpu6/topology/core_siblings_list | 1 + .../cpu/cpu6/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu6/topology/thread_siblings | 1 + .../cpu/cpu6/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu7/topology/core_id | 1 + .../linux-basic/cpu/cpu7/topology/core_siblings | 1 + .../cpu/cpu7/topology/core_siblings_list | 1 + .../cpu/cpu7/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu7/topology/thread_siblings | 1 + .../cpu/cpu7/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu8/topology/core_id | 1 + .../linux-basic/cpu/cpu8/topology/core_siblings | 1 + .../cpu/cpu8/topology/core_siblings_list | 1 + .../cpu/cpu8/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu8/topology/thread_siblings | 1 + .../cpu/cpu8/topology/thread_siblings_list | 1 + .../linux-basic/cpu/cpu9/topology/core_id | 1 + .../linux-basic/cpu/cpu9/topology/core_siblings | 1 + .../cpu/cpu9/topology/core_siblings_list | 1 + .../cpu/cpu9/topology/physical_package_id | 1 + .../linux-basic/cpu/cpu9/topology/thread_siblings | 1 + .../cpu/cpu9/topology/thread_siblings_list | 1 + tests/vircaps2xmldata/linux-basic/cpu/online | 1 + tests/vircaps2xmldata/linux-basic/cpu/present | 1 + tests/vircaps2xmldata/linux-basic/node/node0/cpu0 | 1 + tests/vircaps2xmldata/linux-basic/node/node0/cpu1 | 1 + tests/vircaps2xmldata/linux-basic/node/node0/cpu2 | 1 + tests/vircaps2xmldata/linux-basic/node/node0/cpu3 | 1 + .../vircaps2xmldata/linux-basic/node/node0/cpulist | 1 + tests/vircaps2xmldata/linux-basic/node/node1/cpu4 | 1 + tests/vircaps2xmldata/linux-basic/node/node1/cpu5 | 1 + tests/vircaps2xmldata/linux-basic/node/node1/cpu6 | 1 + tests/vircaps2xmldata/linux-basic/node/node1/cpu7 | 1 + .../vircaps2xmldata/linux-basic/node/node1/cpulist | 1 + tests/vircaps2xmldata/linux-basic/node/node2/cpu10 | 1 + tests/vircaps2xmldata/linux-basic/node/node2/cpu11 | 1 + tests/vircaps2xmldata/linux-basic/node/node2/cpu8 | 1 + tests/vircaps2xmldata/linux-basic/node/node2/cpu9 | 1 + .../vircaps2xmldata/linux-basic/node/node2/cpulist | 1 + tests/vircaps2xmldata/linux-basic/node/node3/cpu12 | 1 + tests/vircaps2xmldata/linux-basic/node/node3/cpu13 | 1 + tests/vircaps2xmldata/linux-basic/node/node3/cpu14 | 1 + tests/vircaps2xmldata/linux-basic/node/node3/cpu15 | 1 + .../vircaps2xmldata/linux-basic/node/node3/cpulist | 1 + tests/vircaps2xmldata/linux-basic/node/online | 1 + tests/vircaps2xmldata/linux-basic/node/possible | 1 + .../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} | 0 .../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} | 0 .../linux-caches/cpu/cpu0/topology/core_siblings | 1 + .../cpu/cpu0/topology/core_siblings_list} | 0 .../cpu/cpu0/topology/physical_package_id} | 0 .../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} | 0 .../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} | 0 .../cpu/cpu1/topology/physical_package_id} | 0 .../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} | 0 .../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} | 0 .../cpu/cpu2/topology/physical_package_id} | 0 .../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} | 0 .../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} | 0 .../cpu/cpu3/topology/physical_package_id} | 0 .../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} | 0 .../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} | 0 .../linux-caches/cpu/cpu4/topology/core_siblings | 1 + .../cpu/cpu4/topology/core_siblings_list} | 0 .../cpu/cpu4/topology/physical_package_id} | 0 .../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} | 0 .../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} | 0 .../cpu/cpu5/topology/physical_package_id} | 0 .../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} | 0 .../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} | 0 .../cpu/cpu6/topology/physical_package_id} | 0 .../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} | 0 .../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} | 0 .../cpu/cpu7/topology/physical_package_id} | 0 .../linux-caches/cpu/cpu7/topology/thread_siblings | 1 + .../cpu/cpu7/topology/thread_siblings_list | 1 + tests/vircaps2xmldata/linux-caches/cpu/kernel_max | 1 + .../linux-caches/cpu/online} | 0 .../linux-caches/cpu/present} | 0 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} | 0 .../linux-caches/node/node0/meminfo | 31 ++ .../linux-caches/node/online} | 0 .../linux-caches/node}/possible | 0 tests/vircaps2xmldata/vircaps-aarch64-basic.xml | 64 ++++ tests/vircaps2xmldata/vircaps-basic-4-4-2G.xml | 74 ---- tests/vircaps2xmldata/vircaps-x86_64-basic.xml | 62 +++ tests/vircaps2xmldata/vircaps-x86_64-caches.xml | 33 ++ tests/vircaps2xmltest.c | 133 +++---- .../cpu/offline | 0 .../cpu/possible | 0 tests/virhostcpudata/linux-deconf-cpus/cpu/offline | 1 - .../virhostcpudata/linux-deconf-cpus/cpu/possible | 1 - tests/virhostcpudata/linux-raspberrypi/cpu/offline | 1 - .../linux-rhelsa-3.19.0-mustang/cpu/offline | 1 - tests/virhostcpudata/linux-subcores1/cpu/offline | 1 - tests/virhostcpudata/linux-subcores1/cpu/possible | 1 - tests/virhostcpudata/linux-subcores2/cpu/offline | 1 - tests/virhostcpudata/linux-subcores2/cpu/possible | 1 - tests/virhostcpudata/linux-subcores3/cpu/offline | 1 - tests/virhostcpudata/linux-subcores3/cpu/possible | 1 - tests/virhostcpudata/linux-test1/cpu/online | 1 + tests/virhostcpudata/linux-test1/cpu/present | 1 + tests/virhostcpudata/linux-test2/cpu/online | 1 + tests/virhostcpudata/linux-test2/cpu/present | 1 + tests/virhostcpudata/linux-test3/cpu/online | 1 + tests/virhostcpudata/linux-test3/cpu/present | 1 + tests/virhostcpudata/linux-test4/cpu/online | 1 + tests/virhostcpudata/linux-test4/cpu/present | 1 + tests/virhostcpudata/linux-test5/cpu/online | 1 + tests/virhostcpudata/linux-test5/cpu/present | 1 + tests/virhostcpudata/linux-test6/cpu/online | 1 + .../cpu/possible => linux-test6/cpu/present} | 0 tests/virhostcpudata/linux-test7/cpu/online | 1 + tests/virhostcpudata/linux-test7/cpu/present | 1 + tests/virhostcpudata/linux-test8/cpu/offline | 0 tests/virhostcpudata/linux-test8/cpu/possible | 1 - tests/virhostcputest.c | 9 +- tests/virnumamock.c | 191 ++++++++++ 427 files changed, 1736 insertions(+), 1047 deletions(-) delete mode 100644 src/nodeinfo.c rename src/{fdstream.c => util/virfdstream.c} (99%) rename src/{fdstream.h => util/virfdstream.h} (97%) create mode 100644 src/util/virsysfs.c create mode 100644 src/util/virsysfs.h rename src/{nodeinfo.h => util/virsysfspriv.h} (62%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-basic/cpu/cpu0/topology/core_id} (100%) create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu0/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu0/topology/core_siblings_list copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-basic/cpu/cpu0/topology/physical_package_id} (100%) create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu0/topology/thread_siblings copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-basic/cpu/cpu0/topology/thread_siblings_list} (100%) create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu1/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu1/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu1/topology/core_siblings_list copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-basic/cpu/cpu1/topology/physical_package_id} (100%) create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu1/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu1/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu10/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu10/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu10/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu10/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu10/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu10/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu11/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu11/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu11/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu11/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu11/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu11/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu12/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu12/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu12/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu12/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu12/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu12/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu13/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu13/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu13/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu13/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu13/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu13/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu14/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu14/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu14/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu14/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu14/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu14/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu15/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu15/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu15/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu15/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu15/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu15/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu2/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu2/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu2/topology/core_siblings_list copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-basic/cpu/cpu2/topology/physical_package_id} (100%) create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu2/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu2/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu3/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu3/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu3/topology/core_siblings_list copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-basic/cpu/cpu3/topology/physical_package_id} (100%) create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu3/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu3/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu4/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu4/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu4/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu4/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu4/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu4/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu5/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu5/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu5/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu5/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu5/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu5/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu6/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu6/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu6/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu6/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu6/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu6/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu7/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu7/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu7/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu7/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu7/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu7/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu8/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu8/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu8/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu8/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu8/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu8/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu9/topology/core_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu9/topology/core_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu9/topology/core_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu9/topology/physical_package_id create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu9/topology/thread_siblings create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/cpu9/topology/thread_siblings_list create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/online create mode 100644 tests/vircaps2xmldata/linux-basic/cpu/present create mode 120000 tests/vircaps2xmldata/linux-basic/node/node0/cpu0 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node0/cpu1 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node0/cpu2 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node0/cpu3 create mode 100644 tests/vircaps2xmldata/linux-basic/node/node0/cpulist create mode 120000 tests/vircaps2xmldata/linux-basic/node/node1/cpu4 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node1/cpu5 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node1/cpu6 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node1/cpu7 create mode 100644 tests/vircaps2xmldata/linux-basic/node/node1/cpulist create mode 120000 tests/vircaps2xmldata/linux-basic/node/node2/cpu10 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node2/cpu11 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node2/cpu8 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node2/cpu9 create mode 100644 tests/vircaps2xmldata/linux-basic/node/node2/cpulist create mode 120000 tests/vircaps2xmldata/linux-basic/node/node3/cpu12 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node3/cpu13 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node3/cpu14 create mode 120000 tests/vircaps2xmldata/linux-basic/node/node3/cpu15 create mode 100644 tests/vircaps2xmldata/linux-basic/node/node3/cpulist create mode 100644 tests/vircaps2xmldata/linux-basic/node/online create mode 100644 tests/vircaps2xmldata/linux-basic/node/possible 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu0/cache/index3/shared_cpu_list} (100%) 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 copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_id} (100%) create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings rename tests/{virhostcpudata/linux-rhelsa-3.19.0-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu0/topology/core_siblings_list} (100%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu0/topology/physical_package_id} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu1/cache/index3/shared_cpu_list} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu1/topology/core_siblings_list} (100%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu1/topology/physical_package_id} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu2/cache/index3/shared_cpu_list} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu2/topology/core_siblings_list} (100%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu2/topology/physical_package_id} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu3/cache/index3/shared_cpu_list} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu3/topology/core_siblings_list} (100%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu3/topology/physical_package_id} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu4/cache/index3/shared_cpu_list} (100%) 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 copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_id} (100%) create mode 100644 tests/vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu4/topology/core_siblings_list} (100%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu4/topology/physical_package_id} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu5/cache/index3/shared_cpu_list} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu5/topology/core_siblings_list} (100%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu5/topology/physical_package_id} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu6/cache/index3/shared_cpu_list} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu6/topology/core_siblings_list} (100%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu6/topology/physical_package_id} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu7/cache/index3/shared_cpu_list} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu7/topology/core_siblings_list} (100%) copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/cpu/cpu7/topology/physical_package_id} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/online} (100%) copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/cpu/present} (100%) 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 copy tests/{virhostcpudata/linux-f21-mustang/cpu/possible => vircaps2xmldata/linux-caches/node/node0/cpulist} (100%) create mode 100644 tests/vircaps2xmldata/linux-caches/node/node0/meminfo copy tests/{virhostcpudata/linux-raspberrypi/cpu/possible => vircaps2xmldata/linux-caches/node/online} (100%) rename tests/{virhostcpudata/linux-raspberrypi/cpu => vircaps2xmldata/linux-caches/node}/possible (100%) create mode 100644 tests/vircaps2xmldata/vircaps-aarch64-basic.xml delete mode 100644 tests/vircaps2xmldata/vircaps-basic-4-4-2G.xml create mode 100644 tests/vircaps2xmldata/vircaps-x86_64-basic.xml create mode 100644 tests/vircaps2xmldata/vircaps-x86_64-caches.xml rename tests/virhostcpudata/{linux-f21-mustang => linux-caches1}/cpu/offline (100%) copy tests/virhostcpudata/{linux-f21-mustang => linux-caches1}/cpu/possible (100%) delete mode 100644 tests/virhostcpudata/linux-deconf-cpus/cpu/offline delete mode 100644 tests/virhostcpudata/linux-deconf-cpus/cpu/possible delete mode 100644 tests/virhostcpudata/linux-raspberrypi/cpu/offline delete mode 100644 tests/virhostcpudata/linux-rhelsa-3.19.0-mustang/cpu/offline delete mode 100644 tests/virhostcpudata/linux-subcores1/cpu/offline delete mode 100644 tests/virhostcpudata/linux-subcores1/cpu/possible delete mode 100644 tests/virhostcpudata/linux-subcores2/cpu/offline delete mode 100644 tests/virhostcpudata/linux-subcores2/cpu/possible delete mode 100644 tests/virhostcpudata/linux-subcores3/cpu/offline delete mode 100644 tests/virhostcpudata/linux-subcores3/cpu/possible create mode 100644 tests/virhostcpudata/linux-test1/cpu/online create mode 100644 tests/virhostcpudata/linux-test1/cpu/present create mode 100644 tests/virhostcpudata/linux-test2/cpu/online create mode 100644 tests/virhostcpudata/linux-test2/cpu/present create mode 100644 tests/virhostcpudata/linux-test3/cpu/online create mode 100644 tests/virhostcpudata/linux-test3/cpu/present create mode 100644 tests/virhostcpudata/linux-test4/cpu/online create mode 100644 tests/virhostcpudata/linux-test4/cpu/present create mode 100644 tests/virhostcpudata/linux-test5/cpu/online create mode 100644 tests/virhostcpudata/linux-test5/cpu/present create mode 100644 tests/virhostcpudata/linux-test6/cpu/online rename tests/virhostcpudata/{linux-f21-mustang/cpu/possible => linux-test6/cpu/present} (100%) create mode 100644 tests/virhostcpudata/linux-test7/cpu/online create mode 100644 tests/virhostcpudata/linux-test7/cpu/present delete mode 100644 tests/virhostcpudata/linux-test8/cpu/offline delete mode 100644 tests/virhostcpudata/linux-test8/cpu/possible create mode 100644 tests/virnumamock.c
ACK series. Michal -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list