]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu-data.py: Allow for more than child in feature nodes
authorTim Wiederhake <twiederh@redhat.com>
Mon, 17 Oct 2022 09:55:08 +0000 (11:55 +0200)
committerTim Wiederhake <twiederh@redhat.com>
Tue, 8 Nov 2022 20:44:16 +0000 (21:44 +0100)
commit10a41a8cbdf4bcaba0039e97704afda8220cd8e0
treeca00e2195c5cb7982f7dc28ef0530810fc984c5d
parent56de80cb793aa7aedc45572f8b6ec3fc32c99309
cpu-data.py: Allow for more than child in feature nodes

cpu-data.py assumes that all "feature" nodes have exactly one child.
This assumption will no longer be true when the cpumap includes alias-
names for features.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
tests/cputestdata/cpu-data.py