[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 3/6] mips: Report an error when KVM_VM_MIPS_VZ is unavaila
From: |
Peter Maydell |
Subject: |
Re: [PATCH v5 3/6] mips: Report an error when KVM_VM_MIPS_VZ is unavailable |
Date: |
Fri, 4 Aug 2023 18:27:34 +0100 |
On Thu, 27 Jul 2023 at 08:31, Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>
> On MIPS, QEMU requires KVM_VM_MIPS_VZ type for KVM. Report an error in
> such a case as other architectures do when an error occurred during KVM
> type decision.
>
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> ---
> target/mips/kvm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target/mips/kvm.c b/target/mips/kvm.c
> index e98aad01bd..e22e24ed97 100644
> --- a/target/mips/kvm.c
> +++ b/target/mips/kvm.c
> @@ -1278,6 +1278,7 @@ int kvm_arch_get_default_type(MachineState *machine)
> }
> #endif
>
> + error_report("KVM_VM_MIPS_VZ type is not available");
> return -1;
> }
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v5 3/6] mips: Report an error when KVM_VM_MIPS_VZ is unavailable,
Peter Maydell <=