Re: [PATCH net-next v4 0/5] vsock: Add flags field in the vsock address

2020-12-14 Thread Paraschiv, Andra-Irina
On 14/12/2020 19:09, Stefano Garzarella wrote: On Mon, Dec 14, 2020 at 06:11:17PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has been availa

Re: [PATCH net-next v3 0/4] vsock: Add flags field in the vsock address

2020-12-14 Thread Paraschiv, Andra-Irina
On 14/12/2020 10:13, Stefano Garzarella wrote: On Sat, Dec 12, 2020 at 09:16:08AM -0800, Jakub Kicinski wrote: On Fri, 11 Dec 2020 16:24:13 +0100 Stefano Garzarella wrote: On Fri, Dec 11, 2020 at 12:32:37PM +0200, Andra Paraschiv wrote: >vsock enables communication between virtual machines a

Re: [PATCH net-next v3 0/4] vsock: Add flags field in the vsock address

2020-12-11 Thread Paraschiv, Andra-Irina
On 11/12/2020 17:24, Stefano Garzarella wrote: Hi Andra, On Fri, Dec 11, 2020 at 12:32:37PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has

Re: [PATCH net-next v2 1/4] vm_sockets: Include flags field in the vsock address data structure

2020-12-10 Thread Paraschiv, Andra-Irina
On 09/12/2020 19:30, Jakub Kicinski wrote: On Wed, 9 Dec 2020 17:17:56 +0200 Paraschiv, Andra-Irina wrote: I agree that could be a problem, but here some considerations: - I checked some applications (qemu-guest-agent, ncat, iperf-vsock) and all use the same pattern: allocate memory

Re: [PATCH net-next v2 1/4] vm_sockets: Include flags field in the vsock address data structure

2020-12-09 Thread Paraschiv, Andra-Irina
On 09/12/2020 12:48, Stefano Garzarella wrote: On Tue, Dec 08, 2020 at 10:42:22AM -0800, Jakub Kicinski wrote: On Tue, 8 Dec 2020 20:23:24 +0200 Paraschiv, Andra-Irina wrote: >> --- a/include/uapi/linux/vm_sockets.h >> +++ b/include/uapi/linux/vm_sockets.h >>

Re: [PATCH net-next v2 1/4] vm_sockets: Include flags field in the vsock address data structure

2020-12-08 Thread Paraschiv, Andra-Irina
On 07/12/2020 23:29, Jakub Kicinski wrote: On Fri, 4 Dec 2020 19:02:32 +0200 Andra Paraschiv wrote: diff --git a/include/uapi/linux/vm_sockets.h b/include/uapi/linux/vm_sockets.h index fd0ed7221645d..46735376a57a8 100644 --- a/include/uapi/linux/vm_sockets.h +++ b/include/uapi/linux/vm_sockets

Re: [PATCH net-next v2 4/4] af_vsock: Assign the vsock transport considering the vsock address flags

2020-12-07 Thread Paraschiv, Andra-Irina
On 07/12/2020 12:00, Stefano Garzarella wrote: On Fri, Dec 04, 2020 at 07:02:35PM +0200, Andra Paraschiv wrote: The vsock flags field can be set in the connect and (listen) receive paths. When the vsock transport is assigned, the remote CID is used to distinguish between types of connection.

Re: [PATCH net-next v2 2/4] vm_sockets: Add VMADDR_FLAG_TO_HOST vsock flag

2020-12-07 Thread Paraschiv, Andra-Irina
On 07/12/2020 11:59, Stefano Garzarella wrote: On Fri, Dec 04, 2020 at 07:02:33PM +0200, Andra Paraschiv wrote: Add VMADDR_FLAG_TO_HOST vsock flag that is used to setup a vsock connection where all the packets are forwarded to the host. Then, using this type of vsock channel, vsock communica

Re: [PATCH net-next v2 1/4] vm_sockets: Include flags field in the vsock address data structure

2020-12-07 Thread Paraschiv, Andra-Irina
On 07/12/2020 11:59, Stefano Garzarella wrote: On Fri, Dec 04, 2020 at 07:02:32PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. With the multi transport support (guest->host and host->guest), nested VMs can also use vsock

Re: [PATCH net-next v2 0/4] vsock: Add flags field in the vsock address

2020-12-07 Thread Paraschiv, Andra-Irina
On 07/12/2020 12:05, Stefano Garzarella wrote: Hi Andra, On Fri, Dec 04, 2020 at 07:02:31PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has

Re: [PATCH net-next v1 1/3] vm_sockets: Include flag field in the vsock address data structure

2020-12-03 Thread Paraschiv, Andra-Irina
On 03/12/2020 15:38, Stefano Garzarella wrote: On Thu, Dec 03, 2020 at 12:32:08PM +0200, Paraschiv, Andra-Irina wrote: On 03/12/2020 11:21, Stefan Hajnoczi wrote: On Tue, Dec 01, 2020 at 05:25:03PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the

Re: [PATCH net-next v1 1/3] vm_sockets: Include flag field in the vsock address data structure

2020-12-03 Thread Paraschiv, Andra-Irina
On 03/12/2020 11:21, Stefan Hajnoczi wrote: On Tue, Dec 01, 2020 at 05:25:03PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. With the multi transport support (guest->host and host->guest), nested VMs can also use vsock cha

Re: [PATCH net-next v1 0/3] vsock: Add flag field in the vsock address

2020-12-02 Thread Paraschiv, Andra-Irina
On 02/12/2020 15:37, Stefano Garzarella wrote: Hi Andra, On Tue, Dec 01, 2020 at 05:25:02PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has

Re: [PATCH net-next v1 3/3] af_vsock: Assign the vsock transport considering the vsock address flag

2020-12-01 Thread Paraschiv, Andra-Irina
On 01/12/2020 18:23, Stefano Garzarella wrote: On Tue, Dec 01, 2020 at 05:25:05PM +0200, Andra Paraschiv wrote: The vsock flag has been set in the connect and (listen) receive paths. When the vsock transport is assigned, the remote CID is used to distinguish between types of connection. Use

Re: [PATCH net-next v1 2/3] virtio_transport_common: Set sibling VMs flag on the receive path

2020-12-01 Thread Paraschiv, Andra-Irina
On 01/12/2020 18:22, Stefano Garzarella wrote: On Tue, Dec 01, 2020 at 05:25:04PM +0200, Andra Paraschiv wrote: The vsock flag can be set during the connect() setup logic, when initializing the vsock address data structure variable. Then the vsock transport is assigned, also considering this

Re: [PATCH net-next v1 1/3] vm_sockets: Include flag field in the vsock address data structure

2020-12-01 Thread Paraschiv, Andra-Irina
On 01/12/2020 18:09, Stefano Garzarella wrote: On Tue, Dec 01, 2020 at 05:25:03PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. With the multi transport support (guest->host and host->guest), nested VMs can also use vsock

Re: [PATCH net-next v1 0/3] vsock: Add flag field in the vsock address

2020-12-01 Thread Paraschiv, Andra-Irina
On 01/12/2020 18:27, Stefano Garzarella wrote: Hi Andra, On Tue, Dec 01, 2020 at 05:25:02PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has