qemu/target/s390x/kvm
Zhao Liu 38098df346 target/s390x/cpu_models: Make kvm_s390_apply_cpu_model() return boolean
As error.h suggested, the best practice for callee is to return
something to indicate success / failure.

So make kvm_s390_apply_cpu_model() return boolean and check the
returned boolean in apply_cpu_model() instead of accessing @err.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240425031232.1586401-7-zhao1.liu@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-04-30 06:21:47 +02:00
..
kvm_s390x.h s390x/cpu topology: resetting the Topology-Change-Report 2023-10-20 07:16:53 +02:00
kvm.c target/s390x/cpu_models: Make kvm_s390_apply_cpu_model() return boolean 2024-04-30 06:21:47 +02:00
meson.build target/s390x/cpu topology: handle STSI(15) and build the SYSIB 2023-10-20 07:16:53 +02:00
pv.c s390: Switch to use confidential_guest_kvm_init() 2024-04-23 17:35:25 +02:00
pv.h s390: Switch to use confidential_guest_kvm_init() 2024-04-23 17:35:25 +02:00
stsi-topology.c target/s390x/cpu topology: Fix ordering and creation of TLEs 2023-11-07 19:27:08 +01:00
stubs.c s390x: Add protected dump cap 2022-10-26 12:54:30 +04:00
trace-events trace-events: Fix the name of the tracing.rst file 2023-09-08 13:08:51 +03:00
trace.h