On 25.03.2021 13:26, Stefano Garzarella wrote: > On Tue, Mar 23, 2021 at 04:13:49PM +0300, Arseny Krasnov wrote: >> This adds new virtio vsock specific feature bit which means >> SOCK_SEQPACKET support. Guest negotiates this bit with vhost, >> thus checking that vhost side supports SEQPACKET. >> >> Signed-off-by: Arseny Krasnov <arseny.kras...@kaspersky.com> >> --- >> include/uapi/linux/virtio_vsock.h | 3 +++ >> 1 file changed, 3 insertions(+) > Since you have this patch, I think you can generalize the title, update > the description, and merge here the changes I mentioned in patch 11/22 > about changes of include/uapi/linux/virtio_vsock.h. > > So you can have a single patch with the new virtio-spec defines and > structs related to SEQPACKET, of course then we move it before patch 11. > > What do you think? Ok, i'll move all changes related to spec to separate patch > > Stefano > >> diff --git a/include/uapi/linux/virtio_vsock.h >> b/include/uapi/linux/virtio_vsock.h >> index 692f8078cced..619aaebb355a 100644 >> --- a/include/uapi/linux/virtio_vsock.h >> +++ b/include/uapi/linux/virtio_vsock.h >> @@ -38,6 +38,9 @@ >> #include <linux/virtio_ids.h> >> #include <linux/virtio_config.h> >> >> +/* The feature bitmap for virtio vsock */ >> +#define VIRTIO_VSOCK_F_SEQPACKET 0 /* SOCK_SEQPACKET supported */ >> + >> struct virtio_vsock_config { >> __le64 guest_cid; >> } __attribute__((packed)); >> -- >> 2.25.1 >> >
- [RFC PATCH v7 12/22] virtio/vsock: fetch length for SEQ... Arseny Krasnov
- Re: [RFC PATCH v7 12/22] virtio/vsock: fetch lengt... Stefano Garzarella
- Re: [RFC PATCH v7 12/22] virtio/vsock: fetch l... Arseny Krasnov
- [RFC PATCH v7 13/22] virtio/vsock: add SEQPACKET receiv... Arseny Krasnov
- Re: [RFC PATCH v7 13/22] virtio/vsock: add SEQPACK... Stefano Garzarella
- [RFC PATCH v7 14/22] virtio/vsock: rest of SOCK_SEQPACK... Arseny Krasnov
- Re: [RFC PATCH v7 14/22] virtio/vsock: rest of SOC... Stefano Garzarella
- Re: [RFC PATCH v7 14/22] virtio/vsock: rest of... Arseny Krasnov
- [RFC PATCH v7 15/22] virtio/vsock: SEQPACKET support fe... Arseny Krasnov
- Re: [RFC PATCH v7 15/22] virtio/vsock: SEQPACKET s... Stefano Garzarella
- Re: [RFC PATCH v7 15/22] virtio/vsock: SEQPACK... Arseny Krasnov
- [RFC PATCH v7 16/22] virtio/vsock: setup SEQPACKET ops ... Arseny Krasnov
- Re: [RFC PATCH v7 16/22] virtio/vsock: setup SEQPA... Stefano Garzarella
- Re: [RFC PATCH v7 16/22] virtio/vsock: setup S... Arseny Krasnov
- [RFC PATCH v7 17/22] vhost/vsock: setup SEQPACKET ops f... Arseny Krasnov
- Re: [RFC PATCH v7 17/22] vhost/vsock: setup SEQPAC... Stefano Garzarella
- Re: [RFC PATCH v7 17/22] vhost/vsock: setup SE... Arseny Krasnov
- [RFC PATCH v7 18/22] vsock/loopback: setup SEQPACKET op... Arseny Krasnov
- Re: [RFC PATCH v7 18/22] vsock/loopback: setup SEQ... Stefano Garzarella
- [RFC PATCH v7 19/22] vhost/vsock: SEQPACKET feature bit... Arseny Krasnov
- [RFC PATCH v7 20/22] virtio/vsock: SEQPACKET feature bi... Arseny Krasnov