qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Paweł Zmarzły" <pzmarzly0@gmail.com>
To: Peter Xu <peterx@redhat.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 11:35:06 +0000	[thread overview]
Message-ID: <CAEZNvsuV=++SxRhSXe__zSCO7ShyQheL8yHVsbeAH2J4ReJ08Q@mail.gmail.com> (raw)
In-Reply-To: <aSd0ROg_3snWMuCB@x1.local>

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
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!


  reply	other threads:[~2025-11-27 11:35 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 [this message]
2025-11-27 15:04     ` Peter Xu
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='CAEZNvsuV=++SxRhSXe__zSCO7ShyQheL8yHVsbeAH2J4ReJ08Q@mail.gmail.com' \
    --to=pzmarzly0@gmail.com \
    --cc=farosas@suse.de \
    --cc=peterx@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).