]> xenbits.xensource.com Git - libvirt.git/commit
qemu-replies-tool: Dump 'qom-list-types'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 4 Jan 2024 12:22:34 +0000 (13:22 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 1 Feb 2024 09:55:01 +0000 (10:55 +0100)
commit910e25afa3185dcf8d7d9e8df0ea0a0eb46f03bc
tree6688021e56fade7542ba2ebf34610176addaefa5
parente355ea422d08acdb3289a92c9db9d10f91b39af2
qemu-replies-tool: Dump 'qom-list-types'

The order of entries in 'qom-list-types' sometimes changes arbitrarily.

The --dump-qom-list-types produces a stable order and drops the for
libvirt unneeded 'parent' information.

Sample output:

$ ./scripts/qemu-replies-tool.py tests/qemucapabilitiesdata/caps_9.0.0_x86_64.replies --dump-qom-list-types
(qom) 486-v1-x86_64-cpu
(qom) 486-x86_64-cpu
(qom) AC97
(qom) AMDVI-PCI
(qom) Broadwell-IBRS-x86_64-cpu
(qom) Broadwell-noTSX-IBRS-x86_64-cpu
(qom) Broadwell-noTSX-x86_64-cpu
(qom) Broadwell-v1-x86_64-cpu
(qom) Broadwell-v2-x86_64-cpu
(qom) Broadwell-v3-x86_64-cpu

[...]

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
scripts/qemu-replies-tool.py