qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Bibo Mao <maobibo@loongson.cn>, Song Gao <gaosong@loongson.cn>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>,
	qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH v2 1/3] target/loongarch: Fix error handling of KVM feature checks
Date: Fri, 14 Mar 2025 12:31:00 +0100	[thread overview]
Message-ID: <aab4da63-071e-4e2a-a9eb-4847b7b42d7b@linaro.org> (raw)
In-Reply-To: <20250314084201.4182054-2-maobibo@loongson.cn>

On 14/3/25 09:41, Bibo Mao wrote:
> For some paravirt KVM features, if user forces to enable it however
> KVM does not support, qemu should fail to run and exit immediately,
> rather than continue to run. Here set error message and return directly
> in function kvm_arch_init_vcpu().
> 
> Fixes: 6edd2a9bec90 (target/loongarch/kvm: Implement LoongArch PMU extension)
> Fixes: 936c3f4d7916 (target/loongarch: Use auto method with LSX feature)
> Fixes: 5e360dabedb1 (target/loongarch: Use auto method with LASX feature)
> Fixes: 620d9bd0022e (target/loongarch: Add paravirt ipi feature detection)
> Signed-off-by: Bibo Mao <maobibo@loongson.cn>
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
> ---
>   target/loongarch/kvm/kvm.c | 8 ++++++--
>   1 file changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



  reply	other threads:[~2025-03-14 11:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-14  8:41 [PATCH v2 0/3] target/loongarch: Solve some issues reported from coccinelle Bibo Mao
2025-03-14  8:41 ` [PATCH v2 1/3] target/loongarch: Fix error handling of KVM feature checks Bibo Mao
2025-03-14 11:31   ` Philippe Mathieu-Daudé [this message]
2025-03-14  8:42 ` [PATCH v2 2/3] hw/loongarch/virt: Remove unnecessary NULL pointer checking Bibo Mao
2025-03-14  9:11   ` Markus Armbruster
2025-03-14  9:25     ` bibo mao
2025-03-14  9:38       ` Markus Armbruster
2025-03-14  9:55         ` bibo mao
2025-03-14  8:42 ` [PATCH v2 3/3] target/loongarch: Remove unnecessary temporary variable assignment Bibo Mao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aab4da63-071e-4e2a-a9eb-4847b7b42d7b@linaro.org \
    --to=philmd@linaro.org \
    --cc=armbru@redhat.com \
    --cc=gaosong@loongson.cn \
    --cc=jiaxun.yang@flygoat.com \
    --cc=maobibo@loongson.cn \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).