]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add flag to BaselineCPU API to return detailed CPU features
authorDon Dugger <n0ano@n0ano.com>
Fri, 2 Aug 2013 19:08:19 +0000 (13:08 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 16 Aug 2013 21:31:18 +0000 (15:31 -0600)
commitd4952d36d0799ce4ce85a6ccfe143a72ed778bab
tree7f69885dd9b571af0710106e38dca2d2701e4d93
parent10ec64105b46d0dec2b174646d80dbeb2d02ac68
Add flag to BaselineCPU API to return detailed CPU features

Currently the virConnectBaselineCPU API does not expose the CPU features
that are part of the CPU's model.  This patch adds a new flag,
VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, that causes the API to explicitly
list all features that are part of that model.

Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
15 files changed:
include/libvirt/libvirt.h.in
src/cpu/cpu.c
src/cpu/cpu.h
src/cpu/cpu_arm.c
src/cpu/cpu_generic.c
src/cpu/cpu_powerpc.c
src/cpu/cpu_s390.c
src/cpu/cpu_x86.c
src/libvirt.c
src/qemu/qemu_driver.c
tests/cputest.c
tests/cputestdata/x86-baseline-3-result.xml [new file with mode: 0644]
tests/cputestdata/x86-baseline-3.xml [new file with mode: 0644]
tools/virsh-domain.c
tools/virsh.pod