libvirt/tests/qemumonitorjsondata
Peter Krempa 0175dc6ea0 qemu: block: Refactor node name detection code
Remove the complex and unreliable code which inferred the node name
hierarchy only from data returned by 'query-named-block-nodes'. It turns
out that query-blockstats contain the full hierarchy of nodes as
perceived by qemu so the inference code is not necessary.

In query blockstats, the 'parent' object corresponds to the storage
behind a storage volume and 'backing' corresponds to the lower level of
backing chain. Since all have node names this data can be really easily
used to detect node names.

In addition to the code refactoring the one remaining test case needed
to be fixed along.

Reviewed-by: Eric Blake <eblake@redhat.com>
2017-07-27 09:47:40 +02:00
..
qemumonitorjson-cpuinfo-ppc64-basic-cpus.json tests: cpu-hotplug: Add data for ppc64 platform including hotplug 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-basic-hotplug.json tests: cpu-hotplug: Add data for ppc64 platform including hotplug 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-basic.data qemu: monitor: Properly propagate the 'qemu_id' field through the matcher 2016-11-22 10:44:17 +01:00
qemumonitorjson-cpuinfo-ppc64-hotplug-1-cpus.json tests: cpu-hotplug: Add data for ppc64 platform including hotplug 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-hotplug-1-hotplug.json tests: cpu-hotplug: Add data for ppc64 platform including hotplug 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-hotplug-1.data qemu: monitor: Properly propagate the 'qemu_id' field through the matcher 2016-11-22 10:44:17 +01:00
qemumonitorjson-cpuinfo-ppc64-hotplug-2-cpus.json tests: cpu-hotplug: Add data for ppc64 platform including hotplug 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-hotplug-2-hotplug.json tests: cpu-hotplug: Add data for ppc64 platform including hotplug 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-hotplug-2.data qemu: monitor: Properly propagate the 'qemu_id' field through the matcher 2016-11-22 10:44:17 +01:00
qemumonitorjson-cpuinfo-ppc64-hotplug-4-cpus.json tests: cpu-hotplug: Add data for ppc64 out-of-order hotplug 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-hotplug-4-hotplug.json tests: cpu-hotplug: Add data for ppc64 out-of-order hotplug 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-hotplug-4.data qemu: monitor: Properly propagate the 'qemu_id' field through the matcher 2016-11-22 10:44:17 +01:00
qemumonitorjson-cpuinfo-ppc64-no-threads-cpus.json tests: cpu-hotplug: Add data for ppc64 without threads enabled 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-no-threads-hotplug.json tests: cpu-hotplug: Add data for ppc64 without threads enabled 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-ppc64-no-threads.data qemu: monitor: Properly propagate the 'qemu_id' field through the matcher 2016-11-22 10:44:17 +01:00
qemumonitorjson-cpuinfo-x86-basic-pluggable-cpus.json tests: Add test infrastructure for qemuMonitorGetCPUInfo 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-x86-basic-pluggable-hotplug.json tests: Add test infrastructure for qemuMonitorGetCPUInfo 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-x86-basic-pluggable.data qemu: monitor: Properly propagate the 'qemu_id' field through the matcher 2016-11-22 10:44:17 +01:00
qemumonitorjson-cpuinfo-x86-full-cpus.json tests: cpu-hotplug: Add data for x86 hotplug with 11+ vcpus 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-x86-full-hotplug.json tests: cpu-hotplug: Add data for x86 hotplug with 11+ vcpus 2016-08-24 15:44:47 -04:00
qemumonitorjson-cpuinfo-x86-full.data qemu: monitor: Properly propagate the 'qemu_id' field through the matcher 2016-11-22 10:44:17 +01:00
qemumonitorjson-cpuinfo-x86-node-full-cpus.json qemu: domain: Use vcpu 'node-id' property and pass it back to qemu 2017-07-10 13:23:04 +02:00
qemumonitorjson-cpuinfo-x86-node-full-hotplug.json qemu: domain: Use vcpu 'node-id' property and pass it back to qemu 2017-07-10 13:23:04 +02:00
qemumonitorjson-cpuinfo-x86-node-full.data qemu: domain: Use vcpu 'node-id' property and pass it back to qemu 2017-07-10 13:23:04 +02:00
qemumonitorjson-getcpu-ecx.data cpu_x86: Prepare for ecx_in CPUID parameter 2016-06-09 10:03:38 +02:00
qemumonitorjson-getcpu-ecx.json qemumonitorjsontest: Add getcpu test data 2016-06-09 09:50:13 +02:00
qemumonitorjson-getcpu-full.data cpu_x86: Prepare for ecx_in CPUID parameter 2016-06-09 10:03:38 +02:00
qemumonitorjson-getcpu-full.json qemu: Add monitor APIs to fetch CPUID data from QEMU 2013-11-08 09:44:36 +01:00
qemumonitorjson-getcpu-host.data cpu_x86: Prepare for ecx_in CPUID parameter 2016-06-09 10:03:38 +02:00
qemumonitorjson-getcpu-host.json qemu: Add monitor APIs to fetch CPUID data from QEMU 2013-11-08 09:44:36 +01:00
qemumonitorjson-nodename-basic-blockstats.json qemu: block: Refactor node name detection code 2017-07-27 09:47:40 +02:00
qemumonitorjson-nodename-basic-named-nodes.json qemu: block: Refactor node name detection code 2017-07-27 09:47:40 +02:00
qemumonitorjson-nodename-basic.result qemu: block: Refactor node name detection code 2017-07-27 09:47:40 +02:00
qemumonitorjson-nodename-gluster-named-nodes.json tests: qemumonitor: Prepare for more test data in testBlockNodeNameDetect 2017-07-27 09:27:58 +02:00
qemumonitorjson-nodename-gluster.result tests: qemumonitorjson: Drop redundant data from testBlockNodeNameDetectFormat 2017-07-27 09:28:48 +02:00
qemumonitorjson-nodename-relative-named-nodes.json tests: qemumonitor: Prepare for more test data in testBlockNodeNameDetect 2017-07-27 09:27:58 +02:00
qemumonitorjson-nodename-relative.result tests: qemumonitorjson: Drop redundant data from testBlockNodeNameDetectFormat 2017-07-27 09:28:48 +02:00
qemumonitorjson-nodename-same-backing-named-nodes.json tests: qemumonitor: Prepare for more test data in testBlockNodeNameDetect 2017-07-27 09:27:58 +02:00
qemumonitorjson-nodename-same-backing.result tests: qemumonitorjson: Drop redundant data from testBlockNodeNameDetectFormat 2017-07-27 09:28:48 +02:00