All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-comment] [RFC PATCH v1 0/1] virtio-vsock: introduce SEQPACKET description
@ 2021-02-18  6:07 Arseny Krasnov
  2021-02-18  6:08 ` [virtio-comment] [RFC PATCH v1 1/1] virtio-vsock: add SOCK_SEQPACKET description Arseny Krasnov
  2021-02-22 10:16   ` Stefano Garzarella
  0 siblings, 2 replies; 22+ messages in thread
From: Arseny Krasnov @ 2021-02-18  6:07 UTC (permalink / raw)
  To: cohuck, virtio-comment, Stefan Hajnoczi, Stefano Garzarella,
	Michael S. Tsirkin, Jason Wang, David S. Miller, Jakub Kicinski,
	Arseny Krasnov, Jorgen Hansen, Norbert Slusarek, Colin Ian King,
	Andra Paraschiv
  Cc: virtualization, oxffffaa

This patchset adds description of SOCK_SEQPACKET socket's type
of virtio vsock.

Here is implementation:
https://lkml.org/lkml/2021/2/18/24

 Arseny Krasnov(1):
  virtio-vsock: add SOCK_SEQPACKET description

 virtio-vsock.tex | 40 +++++++++++++++++++++++++++++++++++++---
 1 files changed, 37 insertions(+), 3 deletions(-)

TODO:
- for messages identification I use header's field called 'msg_cnt'.
  May be it is better to call it 'msg_id' or 'msg_num', because it
  is used as ID, but implemented as counter.

- in current version of specification, some values of headers' fields
  still unnamed, for example type of socket (stream or seqpacket), then
  shutdown flags. Spec says that for stream socket value of 'type'
  must be 1. For receive shutdown bit 0 is set in 'flags', for send
  shutdown bit 1 is set in 'flags'. But in Linux these unnamed ones and
  zeroes are implemented as enums, so may be it will be ok to add such
  enums in specification (as 'enum virtio_vsock_event_id').

Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com>

-- 
2.25.1


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2021-03-17  9:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-18  6:07 [virtio-comment] [RFC PATCH v1 0/1] virtio-vsock: introduce SEQPACKET description Arseny Krasnov
2021-02-18  6:08 ` [virtio-comment] [RFC PATCH v1 1/1] virtio-vsock: add SOCK_SEQPACKET description Arseny Krasnov
2021-02-24  9:32   ` Stefano Garzarella
2021-02-24  9:32     ` Stefano Garzarella
2021-03-03 12:08     ` Cornelia Huck
2021-03-03 12:08       ` Cornelia Huck
2021-03-03 12:35       ` Stefano Garzarella
2021-03-03 12:35         ` Stefano Garzarella
2021-03-03 16:52       ` Michael S. Tsirkin
2021-03-03 16:52         ` Michael S. Tsirkin
2021-03-03 17:08         ` Cornelia Huck
2021-03-03 17:08           ` Cornelia Huck
2021-03-16 13:49   ` Michael S. Tsirkin
2021-03-16 13:49     ` Michael S. Tsirkin
2021-03-17  9:23     ` Arseny Krasnov
2021-02-22 10:16 ` [virtio-comment] Re: [RFC PATCH v1 0/1] virtio-vsock: introduce SEQPACKET description Stefano Garzarella
2021-02-22 10:16   ` Stefano Garzarella
2021-02-22 10:38   ` [virtio-comment] Re: [MASSMAIL KLMS] [virtio-comment] " Arseny Krasnov
2021-03-16 13:50   ` Michael S. Tsirkin
2021-03-16 13:50     ` Michael S. Tsirkin
2021-03-16 14:08     ` Stefano Garzarella
2021-03-16 14:08       ` Stefano Garzarella

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.