From: "Alex Bennée" <alex.bennee@linaro.org>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>,
qemu-devel@nongnu.org, Hanna Czenczek <hreitz@redhat.com>,
"Michael S . Tsirkin" <mst@redhat.com>,
Albert Esteve <aesteve@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
"Garhwal, Vikram" <vikram.garhwal@amd.com>
Subject: Re: [PATCH] vhost-user: Fix protocol feature bit conflict
Date: Mon, 16 Oct 2023 12:40:36 +0100 [thread overview]
Message-ID: <87lec2dc7r.fsf@linaro.org> (raw)
In-Reply-To: <20231016103254.7xrnptmwrjnsr3uc@vireshk-i7>
Viresh Kumar <viresh.kumar@linaro.org> writes:
> On 16-10-23, 11:45, Manos Pitsidianakis wrote:
>> On Mon, 16 Oct 2023 11:32, Hanna Czenczek <hreitz@redhat.com> wrote:
>> > diff --git a/include/hw/virtio/vhost-user.h
>> > b/include/hw/virtio/vhost-user.h
>> > index 9f9ddf878d..1d4121431b 100644
>> > --- a/include/hw/virtio/vhost-user.h
>> > +++ b/include/hw/virtio/vhost-user.h
>> > @@ -29,7 +29,8 @@ enum VhostUserProtocolFeature {
>> > VHOST_USER_PROTOCOL_F_INBAND_NOTIFICATIONS = 14,
>> > VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS = 15,
>> > VHOST_USER_PROTOCOL_F_STATUS = 16,
>> > - VHOST_USER_PROTOCOL_F_SHARED_OBJECT = 17,
>> > + /* Feature 17 reserved for VHOST_USER_PROTOCOL_F_XEN_MMAP. */
>> > + VHOST_USER_PROTOCOL_F_SHARED_OBJECT = 18,
>> > VHOST_USER_PROTOCOL_F_MAX
>> > };
>>
>> May I ask, why not define VHOST_USER_PROTOCOL_F_XEN_MMAP as well instead of
>> a comment mention?
>
> Perhaps because we will never use it from Qemu code ?
Vikram's work on enabling xenpvh support will mean enabling grant
support and while I suspect most VirtIO backends will be within QEMU
itself if it ever want to off-load something to a vhost-user backend it
will need to ensure this flag is set.
>
> Anyway:
>
> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2023-10-16 11:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-16 8:32 [PATCH] vhost-user: Fix protocol feature bit conflict Hanna Czenczek
2023-10-16 8:45 ` Manos Pitsidianakis
2023-10-16 10:32 ` Viresh Kumar
2023-10-16 11:40 ` Alex Bennée [this message]
2023-10-17 5:36 ` Viresh Kumar
2023-10-17 7:51 ` Hanna Czenczek
2023-10-17 7:53 ` Viresh Kumar
2023-10-17 8:14 ` Hanna Czenczek
2023-10-17 8:16 ` Viresh Kumar
2023-10-17 8:25 ` Albert Esteve
2023-10-17 10:56 ` Stefan Hajnoczi
2023-10-17 14:38 ` Albert Esteve
2023-10-17 14:46 ` Stefan Hajnoczi
2023-10-16 12:01 ` Manos Pitsidianakis
2023-10-16 10:40 ` Hanna Czenczek
2023-10-16 10:13 ` Stefano Garzarella
2023-10-16 14:03 ` Stefan Hajnoczi
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=87lec2dc7r.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=aesteve@redhat.com \
--cc=hreitz@redhat.com \
--cc=manos.pitsidianakis@linaro.org \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=vikram.garhwal@amd.com \
--cc=viresh.kumar@linaro.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).