From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefano Garzarella <sgarzare@redhat.com>
Cc: virtio-comment@lists.oasis-open.org, jasowang@redhat.com,
cohuck@redhat.com, stefanha@redhat.com,
arseny.krasnov@kaspersky.com
Subject: Re: [PATCH v10 0/3] virtio-vsock: SOCK_SEQPACKET description
Date: Fri, 4 Feb 2022 06:57:10 -0500 [thread overview]
Message-ID: <20220204064424-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20220105163505.192146-1-sgarzare@redhat.com>
On Wed, Jan 05, 2022 at 05:35:02PM +0100, Stefano Garzarella wrote:
> v9: https://markmail.org/message/4s6kfbeblxw4vzk4
>
> Linux kernel and QEMU already merged SOCK_SEQPACKET support,
> so I'm resending Arseny's patches to have consistent virtio-spec
> and implementation.
>
> I added patch 2, following the discussion about F_STREAM feature bit:
> https://markmail.org/message/aoaspjy2jhidwbuo#query:+page:1+mid:obw54zzikgqimhjk+state:results
>
> About patch 2, the vhost-vsock device in the Linux kernel doesn't set bit 0
> (F_STREAM), so at this point I don't know if it's better to use a negative
> feature flag (e.g. F_NO_STREAM) or we go for F_STREAM and send a patch to
> linux-stable (and QEMU?) to solve this issue.
>
> Thanks,
> Stefano
I thought a lot about this. Given things are in the field, I think
fundamentally F_NO_STREAM is a good idea, however I think maybe
we should split it:
VIRTIO_VSOCK_F_NO_IMPLIED_STREAM meaning "stream is not implied"
VIRTIO_VSOCK_F_STREAM meaning "stream is supported"
and then we say everyone SHOULD set VIRTIO_VSOCK_F_NO_IMPLIED_STREAM.
Hmm?
> Arseny Krasnov (2):
> virtio-vsock: use C style defines for constants
> virtio-vsock: SOCK_SEQPACKET description
>
> Stefano Garzarella (1):
> virtio-vsock: add VIRTIO_VSOCK_F_STREAM feature bit
>
> virtio-vsock.tex | 93 +++++++++++++++++++++++++++++++++---------------
> 1 file changed, 65 insertions(+), 28 deletions(-)
>
> --
> 2.31.1
next prev parent reply other threads:[~2022-02-04 11:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-05 16:35 [PATCH v10 0/3] virtio-vsock: SOCK_SEQPACKET description Stefano Garzarella
2022-01-05 16:35 ` [PATCH v10 1/3] virtio-vsock: use C style defines for constants Stefano Garzarella
2022-01-05 16:35 ` [PATCH v10 2/3] virtio-vsock: add VIRTIO_VSOCK_F_STREAM feature bit Stefano Garzarella
2022-01-10 9:50 ` Stefan Hajnoczi
2022-01-05 16:35 ` [PATCH v10 3/3] virtio-vsock: SOCK_SEQPACKET description Stefano Garzarella
2022-01-10 11:19 ` Stefan Hajnoczi
2022-01-11 12:12 ` Stefano Garzarella
2022-01-11 20:29 ` [virtio-comment] " Arseny Krasnov
2022-01-06 11:08 ` [virtio-comment] Re: [!!Mass Mail KSE][MASSMAIL KLMS] [virtio-comment] [PATCH v10 0/3] " Arseny Krasnov
2022-02-04 11:57 ` Michael S. Tsirkin [this message]
2022-02-07 11:35 ` Stefano Garzarella
2022-02-07 13:45 ` Michael S. Tsirkin
2022-02-08 11:37 ` Stefano Garzarella
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=20220204064424-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=arseny.krasnov@kaspersky.com \
--cc=cohuck@redhat.com \
--cc=jasowang@redhat.com \
--cc=sgarzare@redhat.com \
--cc=stefanha@redhat.com \
--cc=virtio-comment@lists.oasis-open.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