]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Rework cpuUpdate
authorJiri Denemark <jdenemar@redhat.com>
Thu, 23 Jun 2016 13:27:07 +0000 (15:27 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 22 Sep 2016 13:40:09 +0000 (15:40 +0200)
commit3b6be3c0c584e55e8b2fa7a45547f7d2935dc600
tree33af83c345f3bef2df51bcdd947bcf364178c9b4
parentdc4542dea53939935eee3e1bde8f5409cab036d7
cpu: Rework cpuUpdate

The reworked API is now called virCPUUpdate and it should change the
provided CPU definition into a one which can be consumed by the QEMU
command line builder:

    - host-passthrough remains unchanged
    - host-model is turned into custom CPU with a model and features
      copied from host
    - custom CPU with minimum match is converted similarly to host-model
    - optional features are updated according to host's CPU

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
19 files changed:
po/POTFILES.in
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/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_process.c
tests/cputest.c
tests/cputestdata/x86-host+host-model-nofallback.xml
tests/cputestdata/x86-host+host-model.xml
tests/cputestdata/x86-host+host-passthrough-features.xml [new file with mode: 0644]
tests/cputestdata/x86-host+host-passthrough.xml
tests/cputestdata/x86-host+min.xml
tests/cputestdata/x86-host+pentium3.xml
tests/cputestdata/x86-host-invtsc+host-model.xml
tests/cputestdata/x86-host-passthrough-features.xml [new file with mode: 0644]