]> xenbits.xensource.com Git - libvirt.git/commit
cpu: Rework cpuCompare* APIs
authorJiri Denemark <jdenemar@redhat.com>
Tue, 9 Aug 2016 11:26:53 +0000 (13:26 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 22 Sep 2016 13:40:09 +0000 (15:40 +0200)
commit7f127ded657b24e0e55cd5f3539ef5b2dc935908
tree2d4d45032321e98d796b2fee956194604e1c6a52
parent81da062f0ba794f777bef9d335f5bd6b60afd7db
cpu: Rework cpuCompare* APIs

Both cpuCompare* APIs are renamed to virCPUCompare*. And they should now
work for any guest CPU definition, i.e., even for host-passthrough
(trivial) and host-model CPUs. The implementation in x86 driver is
enhanced to provide a hint about -noTSX Broadwell and Haswell models
when appropriate.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu/cpu.c
src/cpu/cpu.h
src/cpu/cpu_arm.c
src/cpu/cpu_ppc64.c
src/cpu/cpu_x86.c
src/libvirt_private.syms
src/libxl/libxl_driver.c
src/qemu/qemu_driver.c
tests/cputest.c