qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jinpu Wang <jinpu.wang@ionos.com>
To: Thomas Huth <thuth@redhat.com>
Cc: Peter Xu <peterx@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Jason Wang <jasowang@redhat.com>,
	 eduardo@habkost.net, marcel.apfelbaum@gmail.com,
	philmd@linaro.org,  wangyanan55@huawei.com, zhao1.liu@intel.com,
	qemu-devel@nongnu.org,  farosas@suse.de, berrange@redhat.com
Subject: Re: [RFC PATCH] virtio-net: introduce strict peer feature check
Date: Fri, 14 Nov 2025 10:53:13 +0100	[thread overview]
Message-ID: <CAMGffEk_8c4Axe1iuugXa5xV2b1tZhvVUcPL3ZPBXriofG-rOA@mail.gmail.com> (raw)
In-Reply-To: <6a83ca08-5484-469a-8020-a1165aed1c73@redhat.com>

Hello all,

My apologies for the slow reply; I have been heavily involved in other
tasks recently.

I wanted to chime in to confirm that, as a Cloud Service Provider
(CSP), we rely heavily on live migration, particularly during the
rollout of new host operating system versions or for resource
balancing across our infrastructure. Consequently, it is a critical
requirement for us that the live migration process remains robust and
does not experience failures simply because new features are
automatically enabled by default when running on a newer kernel
version.

From the CSP perspective, having a strict feature check that results
in a failure at boot (or feature negotiation) seems significantly
preferable to the previous behavior of silently clearing features and
only failing much later during a migration attempt. A strict check
provides immediate feedback that the requested feature set is
incompatible with the peer/environment, allowing us to address the
configuration issue proactively before the VM is put into production
or before a migration is attempted.

I must admit I don't know the code base well enough to comment on the
technical implementation, but the principle behind the proposed strict
check appears to align well with our operational needs for managing
live migration compatibility and stability.

Thank you very much, Jason, for proposing and working on this solution.

Best regards,
Jinpu

On Fri, Nov 14, 2025 at 6:48 AM Thomas Huth <thuth@redhat.com> wrote:
>
> On 13/11/2025 20.32, Peter Xu wrote:
> > On Thu, Nov 13, 2025 at 12:46:55PM -0500, Michael S. Tsirkin wrote:
> >> failing to start a perfectly good qemu which used to work
> >> because you changed kernels is better than failing to migrate how?
> >>
> >
> > I agree this is not pretty.
> >
> > The very original proposal was having extra features to be OFF by default,
> > only allow explicit selections to enable them when the mgmt / user is aware
> > of the possible hosts to run on top.
>
> Could it maybe be tied to the "-nodefaults" option of QEMU? If you run QEMU
> with "-nodefaults" (which you should do when planning a migration later),
> these extra features that depend on the kernel version stay OFF. If you run
> QEMU without "-nodefaults", QEMU could enable them if supported by the
> kernel. So that would benefit both, the people running QEMU via management
> layers (using -nodefaults), and the people who just want to quickly launch
> QEMU on the command line. WDYT?
>
>   Thomas
>


  reply	other threads:[~2025-11-14  9:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-07  2:01 [RFC PATCH] virtio-net: introduce strict peer feature check Jason Wang
2025-11-12 21:55 ` Peter Xu
2025-11-13  0:31   ` Jason Wang
2025-11-13 15:51     ` Peter Xu
2025-11-13  8:53   ` Daniel P. Berrangé
2025-11-13 15:58     ` Peter Xu
2025-11-13 16:09 ` Michael S. Tsirkin
2025-11-13 16:37   ` Peter Xu
2025-11-13 16:47     ` Michael S. Tsirkin
2025-11-13 17:12       ` Peter Xu
2025-11-13 17:46         ` Michael S. Tsirkin
2025-11-13 19:32           ` Peter Xu
2025-11-14  1:51             ` Jason Wang
2025-11-16  6:45               ` Michael S. Tsirkin
2025-11-19  2:06                 ` Jason Wang
2025-11-19  6:31                   ` Michael S. Tsirkin
2025-11-14  5:48             ` Thomas Huth
2025-11-14  9:53               ` Jinpu Wang [this message]
2025-11-14 15:47               ` Peter Xu
2025-11-14  1:32           ` Jason Wang
2025-11-16  6:52             ` Michael S. Tsirkin
2025-11-17  4:31               ` Jason Wang
2025-11-17  8:57                 ` Michael S. Tsirkin
2025-11-19  2:49                   ` Jason Wang
2025-11-19  8:07                     ` Michael S. Tsirkin
2025-11-20  1:45                       ` Jason Wang

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=CAMGffEk_8c4Axe1iuugXa5xV2b1tZhvVUcPL3ZPBXriofG-rOA@mail.gmail.com \
    --to=jinpu.wang@ionos.com \
    --cc=berrange@redhat.com \
    --cc=eduardo@habkost.net \
    --cc=farosas@suse.de \
    --cc=jasowang@redhat.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=peterx@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=wangyanan55@huawei.com \
    --cc=zhao1.liu@intel.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).