test case to compare full CPUID dump for unexpected ABI changes
This adds a new test function to the cpuid.py test module, where the
CPUID data exposed by QEMU is compared with a full CPUID dump extracted
previously.
The new test code ensures that there are no ABI changes for a given
machine-type + CPU model combination, between QEMU versions.
The reference dumps were generated using the build-qemu-and-dump-cpus,
and copied using the copy-ref-dumps script.
There are some known QEMU bugs and past ABI changes that require
ignoring some differences. Those cases handled as rules that set
ignore_cpuid_leaves on qemu_cpu.cfg.
Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
Showing
想要评论请 注册 或 登录