Re: [PATCH v3] virtio_console: allocate inbufs in add_port() only if it is needed

2019-11-21 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: a7a69ec0d8e4 ("virtio_console: free buffers after reset"). The bot has tested the following trees: v5.3.11, v4.19.84, v4.14.154, v4.9.201, v4.4.201. v5.3.11: Build OK! v4.19.84:

[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler

2019-11-21 Thread Julio Faracco
Driver virtio_net is not handling error events for TX provided by dev_watchdog. This event is reached when transmission queue is having problems to transmit packets. This could happen for any reason. To enable it, driver should have .ndo_tx_timeout implemented. This commit brings back

[PATCH] drivers: net: virtio_net: Implement a dev_watchdog handler

2019-11-21 Thread Julio Faracco
Driver virtio_net is not handling error events for TX provided by dev_watchdog. This event is reached when transmission queue is having problems to transmit packets. This could happen for any reason. To enable it, driver should have .ndo_tx_timeout implemented. This commit brings back

WorldCIST'20 - Budva, Montenegro | Deadline: November 24

2019-11-21 Thread Maria Lemos
___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

RE: [PATCH net-next 3/6] vsock: add local transport support in the vsock core

2019-11-21 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > Sent: Thursday, November 21, 2019 5:13 PM > > On Thu, Nov 21, 2019 at 03:53:47PM +, Jorgen Hansen wrote: > > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > > Sent: Thursday, November 21, 2019 4:22 PM > > > > > > On Thu,

Re: [PATCH net-next 3/6] vsock: add local transport support in the vsock core

2019-11-21 Thread Stefano Garzarella
On Thu, Nov 21, 2019 at 03:53:47PM +, Jorgen Hansen wrote: > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > Sent: Thursday, November 21, 2019 4:22 PM > > > > On Thu, Nov 21, 2019 at 03:04:18PM +, Jorgen Hansen wrote: > > > > From: Stefano Garzarella

RE: [PATCH net-next 3/6] vsock: add local transport support in the vsock core

2019-11-21 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > Sent: Thursday, November 21, 2019 4:22 PM > > On Thu, Nov 21, 2019 at 03:04:18PM +, Jorgen Hansen wrote: > > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > > Sent: Tuesday, November 19, 2019 12:01 PM > > > To:

Re: [PATCH net-next 4/6] vsock: add vsock_loopback transport

2019-11-21 Thread Stefano Garzarella
On Thu, Nov 21, 2019 at 10:59:48AM +0100, Stefano Garzarella wrote: > On Thu, Nov 21, 2019 at 09:34:58AM +, Stefan Hajnoczi wrote: > > On Tue, Nov 19, 2019 at 12:01:19PM +0100, Stefano Garzarella wrote: > > > > Ideas for long-term changes below. > > > > Reviewed-by: Stefan Hajnoczi > > >

Re: [PATCH net-next 3/6] vsock: add local transport support in the vsock core

2019-11-21 Thread Stefano Garzarella
On Thu, Nov 21, 2019 at 03:04:18PM +, Jorgen Hansen wrote: > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > Sent: Tuesday, November 19, 2019 12:01 PM > > To: net...@vger.kernel.org > > > > This patch allows to register a transport able to handle > > local communication (loopback).

RE: [PATCH net-next 2/6] vsock: add VMADDR_CID_LOCAL definition

2019-11-21 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > Sent: Tuesday, November 19, 2019 12:01 PM > > The VMADDR_CID_RESERVED (1) was used by VMCI, but now it is not > used anymore, so we can reuse it for local communication > (loopback) adding the new well-know CID: VMADDR_CID_LOCAL. > > Cc:

RE: [PATCH net-next 0/6] vsock: add local transport support

2019-11-21 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > Sent: Tuesday, November 19, 2019 12:01 PM > This series introduces a new transport (vsock_loopback) to handle > local communication. > This could be useful to test vsock core itself and to allow developers > to test their applications

Re: [PATCH net-next 0/6] vsock: add local transport support

2019-11-21 Thread Stefano Garzarella
On Thu, Nov 21, 2019 at 02:45:32PM +, Jorgen Hansen wrote: > > From: Stefano Garzarella [mailto:sgarz...@redhat.com] > > Sent: Tuesday, November 19, 2019 12:01 PM > > This series introduces a new transport (vsock_loopback) to handle > > local communication. > > This could be useful to test

RE: [PATCH net-next 3/6] vsock: add local transport support in the vsock core

2019-11-21 Thread Jorgen Hansen via Virtualization
> From: Stefano Garzarella [mailto:sgarz...@redhat.com] > Sent: Tuesday, November 19, 2019 12:01 PM > To: net...@vger.kernel.org > > This patch allows to register a transport able to handle > local communication (loopback). > > Signed-off-by: Stefano Garzarella > --- > include/net/af_vsock.h

Re: [PATCH net-next 0/6] vsock: add local transport support

2019-11-21 Thread Stefano Garzarella
On Thu, Nov 21, 2019 at 09:46:43AM +, Stefan Hajnoczi wrote: > On Tue, Nov 19, 2019 at 12:01:15PM +0100, Stefano Garzarella wrote: > > This series introduces a new transport (vsock_loopback) to handle > > local communication. > > This could be useful to test vsock core itself and to allow

Re: [PATCH net-next 5/6] vsock: use local transport when it is loaded

2019-11-21 Thread Stefano Garzarella
On Thu, Nov 21, 2019 at 09:46:14AM +, Stefan Hajnoczi wrote: > On Tue, Nov 19, 2019 at 12:01:20PM +0100, Stefano Garzarella wrote: > > @@ -420,9 +436,10 @@ int vsock_assign_transport(struct vsock_sock *vsk, > > struct vsock_sock *psk) > > new_transport = transport_dgram; > >

Re: [PATCH net-next 4/6] vsock: add vsock_loopback transport

2019-11-21 Thread Stefano Garzarella
On Thu, Nov 21, 2019 at 09:34:58AM +, Stefan Hajnoczi wrote: > On Tue, Nov 19, 2019 at 12:01:19PM +0100, Stefano Garzarella wrote: > > Ideas for long-term changes below. > > Reviewed-by: Stefan Hajnoczi > Thanks for reviewing! > > diff --git a/MAINTAINERS b/MAINTAINERS > > index

Re: [PATCH net-next 5/6] vsock: use local transport when it is loaded

2019-11-21 Thread Stefan Hajnoczi
On Tue, Nov 19, 2019 at 12:01:20PM +0100, Stefano Garzarella wrote: > @@ -420,9 +436,10 @@ int vsock_assign_transport(struct vsock_sock *vsk, > struct vsock_sock *psk) > new_transport = transport_dgram; > break; > case SOCK_STREAM: > - if (remote_cid

Re: [PATCH net-next 0/6] vsock: add local transport support

2019-11-21 Thread Stefan Hajnoczi
On Tue, Nov 19, 2019 at 12:01:15PM +0100, Stefano Garzarella wrote: > This series introduces a new transport (vsock_loopback) to handle > local communication. > This could be useful to test vsock core itself and to allow developers > to test their applications without launching a VM. > > Before

Re: [PATCH net-next 4/6] vsock: add vsock_loopback transport

2019-11-21 Thread Stefan Hajnoczi
On Tue, Nov 19, 2019 at 12:01:19PM +0100, Stefano Garzarella wrote: Ideas for long-term changes below. Reviewed-by: Stefan Hajnoczi > diff --git a/MAINTAINERS b/MAINTAINERS > index 760049454a23..c2a3dc3113ba 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -17239,6 +17239,7 @@ F: