[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 4/6] accel/kvm: Use negative KVM type for error propagatio
From: |
Peter Maydell |
Subject: |
Re: [PATCH v5 4/6] accel/kvm: Use negative KVM type for error propagation |
Date: |
Fri, 4 Aug 2023 18:28:16 +0100 |
On Thu, 27 Jul 2023 at 08:31, Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>
> On MIPS, kvm_arch_get_default_type() returns a negative value when an
> error occurred so handle the case. Also, let other machines return
> negative values when errors occur and declare returning a negative
> value as the correct way to propagate an error that happened when
> determining KVM type.
>
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> ---
> accel/kvm/kvm-all.c | 5 +++++
> hw/arm/virt.c | 2 +-
> hw/ppc/spapr.c | 2 +-
> 3 files changed, 7 insertions(+), 2 deletions(-)
I might have put this earlier in the series, but we get to
the same place in the end whichever way around we do it.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v5 4/6] accel/kvm: Use negative KVM type for error propagation,
Peter Maydell <=