Re: [PATCH net-next 11/14] vsock: add multi-transports support

2019-11-13 Thread Stefano Garzarella
On Wed, Nov 13, 2019 at 02:30:24PM +, Jorgen Hansen wrote: > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > Sent: Tuesday, November 12, 2019 11:37 AM > > > > > > You already mentioned that you are working on a fix for loopback > > > > > here for the guest, but presumably a host

RE: [PATCH net-next 11/14] vsock: add multi-transports support

2019-11-13 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > Sent: Tuesday, November 12, 2019 11:37 AM > > > > You already mentioned that you are working on a fix for loopback > > > > here for the guest, but presumably a host could also do loopback. > > > > > > IIUC we don't support loopback in the

Re: [PATCH net-next 11/14] vsock: add multi-transports support

2019-11-12 Thread Stefano Garzarella
On Tue, Nov 12, 2019 at 09:59:12AM +, Jorgen Hansen wrote: > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > Sent: Monday, November 11, 2019 6:18 PM > > To: Jorgen Hansen > > Subject: Re: [PATCH net-next 11/14] vsock: add multi-transports support >

RE: [PATCH net-next 11/14] vsock: add multi-transports support

2019-11-12 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > Sent: Monday, November 11, 2019 6:18 PM > To: Jorgen Hansen > Subject: Re: [PATCH net-next 11/14] vsock: add multi-transports support > > On Mon, Nov 11, 2019 at 01:53:39PM +, Jorgen Hansen wrote: > > &g

Re: [PATCH net-next 11/14] vsock: add multi-transports support

2019-11-11 Thread Stefano Garzarella
On Mon, Nov 11, 2019 at 01:53:39PM +, Jorgen Hansen wrote: > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > Sent: Wednesday, October 23, 2019 11:56 AM > > Thanks a lot for working on this! > Thanks to you for the reviews! > > With the multi-transports support, we can use vsock

RE: [PATCH net-next 11/14] vsock: add multi-transports support

2019-11-11 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > Sent: Wednesday, October 23, 2019 11:56 AM Thanks a lot for working on this! > With the multi-transports support, we can use vsock with nested VMs (using > also different hypervisors) loading both guest->host and > host->guest transports

Re: [PATCH net-next 11/14] vsock: add multi-transports support

2019-10-31 Thread Stefano Garzarella
On Wed, Oct 30, 2019 at 03:40:05PM +, Jorgen Hansen wrote: > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > > +/* Assign a transport to a socket and call the .init transport callback. > > > + * > > > + * Note: for stream socket this must be called when vsk->remote_addr > > > +is

RE: [PATCH net-next 11/14] vsock: add multi-transports support

2019-10-30 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > +/* Assign a transport to a socket and call the .init transport callback. > > + * > > + * Note: for stream socket this must be called when vsk->remote_addr > > +is set > > + * (e.g. during the connect() or when a connection request on a >

Re: [PATCH net-next 11/14] vsock: add multi-transports support

2019-10-23 Thread Stefano Garzarella
On Wed, Oct 23, 2019 at 11:59 AM Stefano Garzarella wrote: > > This patch adds the support of multiple transports in the > VSOCK core. > > With the multi-transports support, we can use vsock with nested VMs > (using also different hypervisors) loading both guest->host and > host->guest transports

[PATCH net-next 11/14] vsock: add multi-transports support

2019-10-23 Thread Stefano Garzarella
This patch adds the support of multiple transports in the VSOCK core. With the multi-transports support, we can use vsock with nested VMs (using also different hypervisors) loading both guest->host and host->guest transports at the same time. Major changes: - vsock core module can be loaded