From: Peter Maydell <peter.maydell@linaro.org>
To: Steve Sistare <steven.sistare@oracle.com>
Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org,
Cedric Le Goater <clg@redhat.com>,
Zhenzhong Duan <zhenzhong.duan@intel.com>,
Alex Williamson <alex.williamson@redhat.com>
Subject: Re: [PATCH V3 1/1] hw/intc/arm_gicv3_kvm: preserve pending interrupts during cpr
Date: Fri, 15 Aug 2025 13:59:48 +0100 [thread overview]
Message-ID: <CAFEAcA_7cxuKbgpygGyexL3k_jPt=1O_v8V3ir5KKMnXVT6oHA@mail.gmail.com> (raw)
In-Reply-To: <1754936384-278328-1-git-send-email-steven.sistare@oracle.com>
On Mon, 11 Aug 2025 at 19:19, Steve Sistare <steven.sistare@oracle.com> wrote:
>
> Close a race condition that causes cpr-transfer to lose VFIO
> interrupts on ARM.
>
> CPR stops VCPUs but does not disable VFIO interrupts, which may continue
> to arrive throughout the transition to new QEMU.
>
> CPR calls kvm_irqchip_remove_irqfd_notifier_gsi in old QEMU to force
> future interrupts to the producer eventfd, where they are preserved.
> Old QEMU then destroys the old KVM instance. However, interrupts may
> already be pending in KVM state. To preserve them, call ioctl
> KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES to flush them to guest RAM, where
> they will be picked up when the new KVM+VCPU instance is created.
>
> Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
> Reviewed-by: Fabiano Rosas <farosas@suse.de>
> ---
Applied to target-arm.next for 10.2, thanks. I added a cc:stable tag.
-- PMM
prev parent reply other threads:[~2025-08-15 13:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 18:19 [PATCH V3 1/1] hw/intc/arm_gicv3_kvm: preserve pending interrupts during cpr Steve Sistare
2025-08-13 13:32 ` Steven Sistare
2025-08-13 14:57 ` Peter Maydell
2025-08-15 12:59 ` Peter Maydell [this message]
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='CAFEAcA_7cxuKbgpygGyexL3k_jPt=1O_v8V3ir5KKMnXVT6oHA@mail.gmail.com' \
--to=peter.maydell@linaro.org \
--cc=alex.williamson@redhat.com \
--cc=clg@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=steven.sistare@oracle.com \
--cc=zhenzhong.duan@intel.com \
/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).