On Thu, Oct 29 2026, Eric Auger <[email protected]> wrote:

> The 2 callers of kvm_arch_init_vcpu(), namely kvm_rebind_vcpus()
> and kvm_init_vcpu() are passed an Error handle. So it is a pity
> not using it in kvm_arch_init_vcpu(). Also, in the future, the
> error handle could be passed to other functions called inside.
>
> Signed-off-by: Eric Auger <[email protected]>
> ---
>  include/system/kvm.h       |  2 +-
>  accel/kvm/kvm-all.c        | 15 +++++++--------
>  target/arm/kvm.c           | 26 +++++++++++++-------------
>  target/i386/kvm/kvm.c      | 22 ++++++++++++----------
>  target/loongarch/kvm/kvm.c | 27 +++++++++------------------
>  target/ppc/kvm.c           | 10 +++++++---
>  target/riscv/kvm/kvm-cpu.c |  6 +++++-
>  target/s390x/kvm/kvm.c     |  2 +-
>  8 files changed, 55 insertions(+), 55 deletions(-)

Reviewed-by: Cornelia Huck <[email protected]>


Reply via email to