]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Introduce virCPUExpandFeatures
authorJiri Denemark <jdenemar@redhat.com>
Thu, 16 Mar 2017 11:23:50 +0000 (12:23 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 27 Mar 2017 14:29:27 +0000 (16:29 +0200)
commit0aa9383f3c65fcea20246ea1dbe5bfbd2c619606
tree1a1f7cb70fab32291ffcba5e9ebb8b2b002d168e
parent532fc7b7733883554e0805f7b0594b741c1a4bc4
cpu: Introduce virCPUExpandFeatures

Having to use cpuBaseline with VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES
flag to expand CPU features is strange. Not to mention that cpuBaseline
can only expand host CPU definitions (i.e., it completely ignores
feature policies). The new virCPUExpandFeatures API is designed to work
with both host and guest CPU definitions.

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