qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: "Paweł Zmarzły" <pzmarzly0@gmail.com>
Cc: qemu-devel@nongnu.org, farosas@suse.de
Subject: Re: [PATCH] migration: Fix writing mapped_ram + ignore_shared snapshots
Date: Thu, 27 Nov 2025 10:04:27 -0500	[thread overview]
Message-ID: <aShoe8cgDyFxbfOr@x1.local> (raw)
In-Reply-To: <CAEZNvsuV=++SxRhSXe__zSCO7ShyQheL8yHVsbeAH2J4ReJ08Q@mail.gmail.com>

On Thu, Nov 27, 2025 at 11:35:06AM +0000, Paweł Zmarzły wrote:
> On Wed, 26 Nov 2025 at 21:42, Peter Xu <peterx@redhat.com> wrote:
> > Now I start to question whether I should have that other fix of yours to be
> > for this release or next.
> >
> > If this use case is completely broken, we shouldn't need to rush -rc
> > window, now I plan to merge all these fixes later when 11.0 dev window
> > opens.  Let me know if you, or Fabiano, has any comments.
> 
> It is broken if you set ignore-shared and actually have any shared
> block, but what could work today is if you just toggle the
> ignore-shared flag on without setting up any shared blocks. In that
> case, writing will work fine, but reading will crash. That's how I

Yep, I suppose either side of reliable failure means it's completely
broken. :(

That's IMHO an important evaluation because we could modify the image
layout without worrying breaking others only if it's completely broken..

> stumbled upon this rabbithole in the first place: I forgot to unset
> the flag and was surprised by parsing error. Whether it is worth
> fixing now - I don't know, setting ignore-shared when there are no
> shared blocks doesn't really make sense, so most likely nobody does it
> on purpose.
> 
> In either case, I need to stop working on this for now, I thought this
> will be a tiny side project that'll help me get my first patches in
> (and get used to collaborating over email), but now it's growing in
> complexity and I have other things that I need to prioritize.
> Hopefully I'll come back to this within 11.x window. Thanks for all
> the help so far, Peter, Fabiano!

Don't worry, thanks for all the contributions even so far!

Your patch actually looks pretty good already and mergeable, I just
nitpicked things here and there as I want to double check on things I
stated, and make it slow to get thoroughly discussed.

Personally, I think it's ok we queue this one already into -next together
with the other one, then we clean things on top.

Fabiano, sounds good to you?  PS: take your time reading, as long as you
agree we put it in -next only, then there's no rush. :)

Thanks,

-- 
Peter Xu



  reply	other threads:[~2025-11-27 15:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-26 15:47 [PATCH] migration: Fix writing mapped_ram + ignore_shared snapshots Pawel Zmarzly
2025-11-26 21:42 ` Peter Xu
2025-11-27 11:35   ` Paweł Zmarzły
2025-11-27 15:04     ` Peter Xu [this message]
2025-11-27 15:43       ` Fabiano Rosas

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=aShoe8cgDyFxbfOr@x1.local \
    --to=peterx@redhat.com \
    --cc=farosas@suse.de \
    --cc=pzmarzly0@gmail.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).