From: Miles Glenn <milesg@linux.ibm.com>
To: Harsh Prateek Bora <harshpb@linux.ibm.com>,
Fabiano Rosas <farosas@suse.de>, Fabian Vogt <fvogt@suse.de>,
Gautam Menghani <gautam@linux.ibm.com>
Cc: qemu-ppc@nongnu.org, Nicholas Piggin <npiggin@gmail.com>,
qemu-devel@nongnu.org, peterx@redhat.com
Subject: Re: [PATCH] hw/intc/xics: Add missing call to register vmstate_icp_server
Date: Tue, 19 Aug 2025 10:07:29 -0500 [thread overview]
Message-ID: <8c8ba4ac9f817d0d1a51684a8742627cdb4bc3c9.camel@linux.ibm.com> (raw)
In-Reply-To: <fc6a4a14-1336-4b18-97fd-6426bb3a0960@linux.ibm.com>
On Tue, 2025-08-19 at 12:59 +0530, Harsh Prateek Bora wrote:
> + Gautam, Glenn
>
> Hi Fabian,
>
>
> On 8/19/25 08:25, Fabiano Rosas wrote:
> > Fabian Vogt <fvogt@suse.de> writes:
> >
> > +CC Peter
> >
> > > An obsolete wrapper function with a workaround was removed entirely,
> > > without restoring the call it wrapped.
> > >
> > > Without this, the guest is stuck after savevm/loadvm.
> > >
> >
> > I'd note that this only affects guests that have actually negotiated
> > XICS, so guests using ic-mode=xive are safe.
>
> Since this affected only guests using XICS, would it be a better idea to
> mention this explicitly in commit log as well (?
>
> > With this patch, backward migration to QEMU versions >= 9.2 is
> > broken. Which I can only assume is ok, since the hard break (vmstate
> > gets rejected) is better than weird post-migration hangs.
> >
> > If the PPC folks can spot a scenario where migration would provide
> > reasonable results even without the emulated interrupt controller state
> > being migrated, then we'll need a compat property for this.
> >
I don't know much about the XICS controller, but migration without
restoring the interrupt controller state seems pretty risky to me. I
wouldn't recommend it.
Glenn
> > Also, a 9.2 guest cannot move to a more recent QEMU version without a
> > reboot. If this is an important scenario, then the new QEMU needs to
> > provide some compatibility knob.
>
> Gautam, Glenn - thoughts on above comments?
>
> Thanks for the patch.
>
> regards,
> Harsh
>
> > Otherwise:
> >
> > Acked-by: Fabiano Rosas <farosas@suse.de>
> > Cc: qemu-stable@nongnu.org
prev parent reply other threads:[~2025-08-19 15:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-14 11:35 [PATCH] hw/intc/xics: Add missing call to register vmstate_icp_server Fabian Vogt
2025-08-14 11:44 ` [PATCH-for-10.1] " Philippe Mathieu-Daudé
2025-08-19 2:55 ` [PATCH] " Fabiano Rosas
2025-08-19 7:29 ` Harsh Prateek Bora
2025-08-19 15:07 ` Miles Glenn [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=8c8ba4ac9f817d0d1a51684a8742627cdb4bc3c9.camel@linux.ibm.com \
--to=milesg@linux.ibm.com \
--cc=farosas@suse.de \
--cc=fvogt@suse.de \
--cc=gautam@linux.ibm.com \
--cc=harshpb@linux.ibm.com \
--cc=npiggin@gmail.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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).