]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Add support for loading and storing CPU data
authorJiri Denemark <jdenemar@redhat.com>
Sun, 21 Jul 2013 22:18:50 +0000 (00:18 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Oct 2013 14:46:41 +0000 (16:46 +0200)
commit376261d164b0872bf011e525b4f0f050e942ace5
tree0c0b47edb13e799466a854c7f375c65a1ee50609
parentfe1bf917f98e41dec7a51557068714e53b455f3a
cpu: Add support for loading and storing CPU data

This patch adds cpuDataFormat and cpuDataParse APIs to be used in unit
tests for testing APIs that deal with virCPUData. In the x86 world, this
means we can now store/load arbitrary CPUID data in the test suite to
check correctness of CPU related APIs that could not be tested before.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/cpu/cpu.c
src/cpu/cpu.h
src/cpu/cpu_x86.c
src/libvirt_private.syms