From: Jinpu Wang <jinpu.wang@ionos.com>
To: Peter Xu <peterx@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>,
qemu-devel <qemu-devel@nongnu.org>,
qemu-stable@nongnu.org, Fabiano Rosas <farosas@suse.de>,
Yu Zhang <yu.zhang@ionos.com>
Subject: Re: [BUG] Migration failure between QEMU 9.2.4 → 8.2.10 due to virtio-net feature mismatch (VIRTIO_F_RING_RESET / USO features)
Date: Thu, 6 Nov 2025 15:28:05 +0100 [thread overview]
Message-ID: <CAMGffE=VdsQSTOOpBvaDc=RQ98cMDHYemF7nS5pnqJ7Rsvafug@mail.gmail.com> (raw)
In-Reply-To: <aQvM6l04VeZwbUOf@x1.local>
Hi Peter,
On Wed, Nov 5, 2025 at 11:17 PM Peter Xu <peterx@redhat.com> wrote:
>
> On Wed, Nov 05, 2025 at 10:27:59AM +0100, Jinpu Wang wrote:
> > > > These are not present (or not supported) on QEMU 8.2.10, which causes
> > > > the migration state load to fail.
> > >
> > > Interesting, we've already done the compat work:
> > >
> > > GlobalProperty hw_compat_8_1[] = {
> > > { TYPE_PCI_BRIDGE, "x-pci-express-writeable-slt-bug", "true" },
> > > { "ramfb", "x-migrate", "off" },
> > > { "vfio-pci-nohotplug", "x-ramfb-migrate", "off" },
> > > { "igb", "x-pcie-flr-init", "off" },
> > > { TYPE_VIRTIO_NET, "host_uso", "off"},
> > > { TYPE_VIRTIO_NET, "guest_uso4", "off"},
> > > { TYPE_VIRTIO_NET, "guest_uso6", "off"},
> > > };
> > > const size_t hw_compat_8_1_len = G_N_ELEMENTS(hw_compat_8_1);
> > Yeah, I noticed the same.
>
> AFAICT, this is a known issue..
>
> Thomas and I used to suggest we should not turn on USO* by default by
> probing kernel, but only allow user choosing it explicitly in a VM
> setup. IOW, dest qemu should stop booting at all when kernel is too old
> (when user chose the feature).
I feel this is the approach we should have picked.
>
> See:
>
> https://lore.kernel.org/all/ZqQNKZ9_OPhDq2AK@x1n/
Is there any effort to allow migration from new OS support the USO
features to old OS doesn't support it?
Any hint to make it work?
>
> Thanks,
>
> --
> Peter Xu
>
Thx for the help.
next prev parent reply other threads:[~2025-11-06 14:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-05 8:49 [BUG] Migration failure between QEMU 9.2.4 → 8.2.10 due to virtio-net feature mismatch (VIRTIO_F_RING_RESET / USO features) Jinpu Wang
2025-11-05 8:59 ` Jason Wang
2025-11-05 9:27 ` Jinpu Wang
2025-11-05 22:17 ` Peter Xu
2025-11-06 4:05 ` Jason Wang
2025-11-06 14:32 ` Jinpu Wang
2025-11-07 1:03 ` Jason Wang
2025-11-06 14:28 ` Jinpu Wang [this message]
2025-11-07 1:02 ` Jason Wang
2025-11-07 15:06 ` Jinpu Wang
2025-11-07 16:11 ` Jinpu Wang
2025-11-05 9:14 ` Michael Tokarev
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='CAMGffE=VdsQSTOOpBvaDc=RQ98cMDHYemF7nS5pnqJ7Rsvafug@mail.gmail.com' \
--to=jinpu.wang@ionos.com \
--cc=farosas@suse.de \
--cc=jasowang@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=yu.zhang@ionos.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).