Message ID | 20230727073134.134102-4-akihiko.odaki@daynix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | accel/kvm: Specify default IPA size for arm64 | expand |
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
On 27/7/23 09:31, Akihiko Odaki 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(+) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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; }
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(+)