]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cputest: Switch host CPU data scripts to model expansion
authorJiri Denemark <jdenemar@redhat.com>
Wed, 1 Feb 2017 16:48:41 +0000 (17:48 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 3 Mar 2017 18:57:57 +0000 (19:57 +0100)
commitd065934cd07c01fbb29f25bbb223eb4ce126a90e
treeaaba572aa8b8337a882a17cdd8a2b90e001a0a4b
parent2f882dbfa92c14d585a786a42d284b63ffdca4e3
cputest: Switch host CPU data scripts to model expansion

Instantiating "host" CPU and querying it using qom-get has been the only
way of probing host CPU via QEMU until 2.9.0 implemented
query-cpu-model-expansion for x86_64. Even though libvirt never really
used the old way its result can be easily converted into the one
produced by query-cpu-model-expansion. Thus we can reuse the original
test data and possible get new data from hosts where QEMU does not
support the new QMP command.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
tests/cputestdata/cpu-convert.py [new file with mode: 0755]
tests/cputestdata/cpu-gather.sh
tests/cputestdata/cpu-parse.sh