qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Bibo Mao <maobibo@loongson.cn>
Cc: Song Gao <gaosong@loongson.cn>,
	 Jiaxun Yang <jiaxun.yang@flygoat.com>,
	qemu-devel@nongnu.org,  Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH v5 0/6] target/loongarch: Fix some issues reported from coccinelle
Date: Thu, 20 Mar 2025 08:01:10 +0100	[thread overview]
Message-ID: <87plicgp8p.fsf@pond.sub.org> (raw)
In-Reply-To: <20250320032158.1762751-1-maobibo@loongson.cn> (Bibo Mao's message of "Thu, 20 Mar 2025 11:21:52 +0800")

Bibo Mao <maobibo@loongson.cn> writes:

> This patch set solves errors reported by coccinelle tool with commands:
>   spatch --sp-file scripts/coccinelle/*.cocci --dir target/loongarch/
>   spatch --sp-file scripts/coccinelle/*.cocci --dir hw/loongarch/
>
> The main problem is that qemu should fail to run when feature is forced
> to enabled however KVM does not support it, rather than report error and
> continue to run.
>
> Also there is fixup for cpu plug and unplug. If there is error when cpu
> is plug/unplug at runtime,  system should restore to previous state and
> continue to run.

PACTH 2 and 3 are still being discussed.

Since I already have a few error-handling patches queued up, I'm queuing
the remainder of this series for 10.0.  Thanks!



  parent reply	other threads:[~2025-03-20  7:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-20  3:21 [PATCH v5 0/6] target/loongarch: Fix some issues reported from coccinelle Bibo Mao
2025-03-20  3:21 ` [PATCH v5 1/6] target/loongarch: Fix error handling of KVM feature checks Bibo Mao
2025-03-20  3:21 ` [PATCH v5 2/6] hw/loongarch/virt: Fix error handling in cpu plug Bibo Mao
2025-03-20  6:16   ` Markus Armbruster
2025-03-20  6:30     ` bibo mao
2025-03-20  7:25       ` Markus Armbruster
2025-03-20  7:40         ` bibo mao
2025-03-20  3:21 ` [PATCH v5 3/6] hw/loongarch/virt: Fix error handling in cpu unplug Bibo Mao
2025-03-20  3:21 ` [PATCH v5 4/6] hw/loongarch/virt: Eliminate error_propagate() Bibo Mao
2025-03-20  6:05   ` Markus Armbruster
2025-03-20  3:21 ` [PATCH v5 5/6] target/loongarch: Remove unnecessary temporary variable assignment Bibo Mao
2025-03-20  3:21 ` [PATCH v5 6/6] target/loongarch: Clean up virt_cpu_irq_init() error handling Bibo Mao
2025-03-20  7:01 ` Markus Armbruster [this message]
2025-03-20  7:07   ` [PATCH v5 0/6] target/loongarch: Fix some issues reported from coccinelle 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=87plicgp8p.fsf@pond.sub.org \
    --to=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).