qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: Jinpu Wang <jinpu.wang@ionos.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: Wed, 5 Nov 2025 17:17:14 -0500	[thread overview]
Message-ID: <aQvM6l04VeZwbUOf@x1.local> (raw)
In-Reply-To: <CAMGffE=cqr1awRmhAMg3V82_g1-2aM36oV+hWPuczs6VUCQkgw@mail.gmail.com>

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).

See:

https://lore.kernel.org/all/ZqQNKZ9_OPhDq2AK@x1n/

Thanks,

-- 
Peter Xu



  reply	other threads:[~2025-11-05 22:17 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 [this message]
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
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=aQvM6l04VeZwbUOf@x1.local \
    --to=peterx@redhat.com \
    --cc=farosas@suse.de \
    --cc=jasowang@redhat.com \
    --cc=jinpu.wang@ionos.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).