All of lore.kernel.org
 help / color / mirror / Atom feed
From: Demi Marie Obenour <demiobenour@gmail.com>
To: "Alyssa Ross" <hi@alyssa.is>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Manos Pitsidianakis" <manos.pitsidianakis@linaro.org>
Cc: "Albert Esteve" <aesteve@redhat.com>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Daniel P. Berrange" <berrange@redhat.com>,
	"Cédric Le Goater" <clg@redhat.com>,
	"Eric Blake" <eblake@redhat.com>,
	"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
	"Eduardo Habkost" <eduardo@habkost.net>,
	"Elena Ufimtseva" <elena.ufimtseva@oracle.com>,
	"Auger Eric" <eric.auger@redhat.com>,
	felipe@nutanix.com, "Jan Kiszka" <jan.kiszka@web.de>,
	"Joao Martins" <joao.m.martins@oracle.com>,
	"Marc-André Lureau" <marcandre.lureau@gmail.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Phil Mathieu-Daudé" <philmd@linaro.org>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Bernhard Beschow" <shentey@gmail.com>,
	"Stefan Hajnoczi" <stefanha@gmail.com>,
	"Thomas Huth" <thuth@redhat.com>,
	"Wei Wang" <wei.w.wang@intel.com>
Subject: Re: vhost-user(?) breaking changes
Date: Wed, 27 May 2026 14:31:57 -0400	[thread overview]
Message-ID: <793a422d-83ce-472d-8ffc-e3a22ed7e16c@gmail.com> (raw)
In-Reply-To: <87mrxlgt6u.fsf@alyssa.is>


[-- Attachment #1.1.1: Type: text/plain, Size: 1991 bytes --]

On 5/27/26 04:20, Alyssa Ross wrote:
> [Trimming CC substantially.]
> 
> Alex Bennée <alex.bennee@linaro.org> writes:
> 
>> Manos Pitsidianakis <manos.pitsidianakis@linaro.org> writes:
>>
>>> On Mon, May 25, 2026 at 5:03 AM Demi Marie Obenour
>>> <demiobenour@gmail.com> wrote:
>>>>
>>>> The first is whether vhost-user memory regions
>>>> are guaranteed to not overlap.  I sent a patch in
>>>> https://lore.kernel.org/qemu-devel/20260522-vhost-user-dev-v1-1-b31646cf19b8@gmail.com
>>>> to guarantee this is not the case.  However, this is technically a
>>>> breaking spec change.  The virtio vhost-user device I'm working on
>>>> requires this.
>>
>> Breaking spec changes are always a red flag because of whats already
>> deployed. Are you sure there is no way to make changes optional with use
>> of feature flags?
> 
> There's some nuance between breaking changes and clarifications though,
> right?  e.g. 97f24a0496 ("vhost-user.rst: clarify when FDs can be sent")
> tightened things up, so could also have been in principle have been seen
> as a breaking change, but not practically.
> 
> Are there likely to be devices that use overlapping memory regions
> today?  Would we expect that to work?

If an address matches more than one region, the current specification
doesn't state which one should be chosen.  I suspect current backends
either pick one arbitrarily or fail.  I don't think either behavior
is particularly useful.

If the frontend never sends an address that matches more than one
region, I expect things will work fine.  However, this means that the
overlapping part cannot be used safely.  I don't think that this is
a useful thing for a frontend to do.

Treating overlapping regions as an error has the advantage of being
testable and well-defined.  Also, this only means that frontends
must not send overlapping regions.  It doesn't require backends to
change behavior.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2026-05-27 18:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-22 11:56 KVM/QEMU community call @ 26/05/2026 agenda items? Alex Bennée
2026-05-25  2:02 ` Demi Marie Obenour
2026-05-25  7:46   ` Manos Pitsidianakis
2026-05-25  7:52     ` Demi Marie Obenour
2026-05-26 10:18     ` Alex Bennée
2026-05-27  8:20       ` vhost-user(?) breaking changes Alyssa Ross
2026-05-27  9:20         ` Alex Bennée
2026-05-27  9:52           ` vhost-user implementations Alyssa Ross
2026-05-27 11:40             ` Felipe Franciosi
2026-05-27 15:43             ` Stefan Hajnoczi
2026-05-27 18:31         ` Demi Marie Obenour [this message]
2026-05-26 10:18 ` KVM/QEMU community call @ 26/05/2026 agenda items? Alex Bennée

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=793a422d-83ce-472d-8ffc-e3a22ed7e16c@gmail.com \
    --to=demiobenour@gmail.com \
    --cc=aesteve@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=clg@redhat.com \
    --cc=eblake@redhat.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=eduardo@habkost.net \
    --cc=elena.ufimtseva@oracle.com \
    --cc=eric.auger@redhat.com \
    --cc=felipe@nutanix.com \
    --cc=hi@alyssa.is \
    --cc=jan.kiszka@web.de \
    --cc=joao.m.martins@oracle.com \
    --cc=manos.pitsidianakis@linaro.org \
    --cc=marcandre.lureau@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=shentey@gmail.com \
    --cc=stefanha@gmail.com \
    --cc=thuth@redhat.com \
    --cc=wei.w.wang@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.