]> xenbits.xensource.com Git - libvirt.git/commit
cpu: Run arch specific code for virCPUUpdate for all custom CPUs
authorJiri Denemark <jdenemar@redhat.com>
Thu, 19 Nov 2020 20:35:41 +0000 (21:35 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 24 Nov 2020 19:13:23 +0000 (20:13 +0100)
commit8a04e76610277acadfd7ac249990c26af9362b3b
treebd113cfa2cc836d5c04821906c801fa15f6f1a8e
parentd7756a67bbf604f05e59d55814fdc6d5b09a5743
cpu: Run arch specific code for virCPUUpdate for all custom CPUs

Until now, the function returned immediately when the guest CPU
definition did not use optional features or minimum match. Clearly,
there's nothing to be updated according to the host CPU in this case,
but the arch specific code may still want to do some compatibility
updates based on the model and features used in the guest CPU
definition.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
src/cpu/cpu.c
src/cpu/cpu.h
src/cpu/cpu_arm.c
src/cpu/cpu_ppc64.c
src/cpu/cpu_s390.c
src/cpu/cpu_x86.c