Re: [PATCH V2 6/8] mdev: introduce virtio device and its device ops

2019-10-10 Thread Jason Wang
On 2019/9/25 上午7:06, Alex Williamson wrote: On Tue, 24 Sep 2019 21:53:30 +0800 Jason Wang wrote: This patch implements basic support for mdev driver that supports virtio transport for kernel virtio driver. Signed-off-by: Jason Wang --- include/linux/mdev.h| 2 +

Re: [RFC PATCH 08/13] vsock: move vsock_insert_unbound() in the vsock_create()

2019-10-10 Thread Stefano Garzarella
On Wed, Oct 09, 2019 at 01:34:23PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 27, 2019 at 01:26:58PM +0200, Stefano Garzarella wrote: > > vsock_insert_unbound() was called only when 'sock' parameter of > > __vsock_create() was not null. This only happened when > > __vsock_create() was called by

Re: [RFC PATCH 00/13] vsock: add multi-transports support

2019-10-10 Thread Stefano Garzarella
On Wed, Oct 09, 2019 at 02:29:52PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 27, 2019 at 01:26:50PM +0200, Stefano Garzarella wrote: > > Hi all, > > this series adds the multi-transports support to vsock, following > > this proposal: > > https://www.spinics.net/lists/netdev/msg575792.html > >

Re: [RFC PATCH 07/13] vsock: handle buffer_size sockopts in the core

2019-10-10 Thread Stefano Garzarella
On Wed, Oct 09, 2019 at 01:30:26PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 27, 2019 at 01:26:57PM +0200, Stefano Garzarella wrote: > > @@ -140,18 +145,11 @@ struct vsock_transport { > > struct vsock_transport_send_notify_data *); > > int (*notify_send_post_enqueue)(struct

Re: [PATCH v2 07/11] VSOCK: add AF_VSOCK test cases

2019-10-10 Thread Stefano Garzarella
On Wed, Oct 09, 2019 at 04:15:03PM +0100, Stefan Hajnoczi wrote: > On Wed, Oct 09, 2019 at 12:03:53PM +0200, Stefano Garzarella wrote: > > Hi Stefan, > > I'm thinking about dividing this test into single applications, one > > for each test, do you think it makes sense? > > Or is it just a useless

Re: [RFC PATCH 06/13] vsock: add 'struct vsock_sock *' param to vsock_core_get_transport()

2019-10-10 Thread Stefano Garzarella
On Wed, Oct 09, 2019 at 12:54:33PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 27, 2019 at 01:26:56PM +0200, Stefano Garzarella wrote: > > -const struct vsock_transport *vsock_core_get_transport(void) > > +const struct vsock_transport *vsock_core_get_transport(struct vsock_sock > > *vsk) > > { >

Re: [RFC PATCH 11/13] vsock: add 'transport_hg' to handle g2h\h2g transports

2019-10-10 Thread Stefano Garzarella
On Wed, Oct 09, 2019 at 02:16:43PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 27, 2019 at 01:27:01PM +0200, Stefano Garzarella wrote: > > VMCI transport provides both g2h and h2g behaviors in a single > > transport. > > We are able to set (or not) the g2h behavior, detecting if we > > are in a

Re: [RFC PATCH 10/13] vsock: add multi-transports support

2019-10-10 Thread Stefano Garzarella
On Wed, Oct 09, 2019 at 02:11:23PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 27, 2019 at 01:27:00PM +0200, Stefano Garzarella wrote: > > RFC: > > - I'd like to move MODULE_ALIAS_NETPROTO(PF_VSOCK) to af_vsock.c. > > @Jorgen could this break the VMware products? > > What will cause the