]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Make x86ModelFromCPU a bit smarter
authorJiri Denemark <jdenemar@redhat.com>
Sat, 18 Jun 2016 09:19:17 +0000 (11:19 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 22 Sep 2016 13:40:09 +0000 (15:40 +0200)
commit5ac41ef54e39ca02104ff5e88128a742393f97bc
treea3b4d845d594c3ddd06a26d3895a9a1a89438a13
parentcb8026dbec72ca0644a70f7038615211fbd549de
cpu: Make x86ModelFromCPU a bit smarter

x86ModelFromCPU is used to provide CPUID data for features matching
@policy. This patch allows callers to set @policy to -1 to get combined
CPUID for all CPU features (including those implicitly provided a CPU
model) specified in CPU def.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu/cpu_x86.c