Re: [Qemu-devel] [PATCH v5 7/7] Add vhost-user reconnection

2014-01-10 Thread Michael S. Tsirkin
On Fri, Jan 10, 2014 at 11:59:24AM +0100, Antonios Motakis wrote: > > > > On Thu, Jan 9, 2014 at 5:16 PM, Michael S. Tsirkin wrote: > > On Thu, Jan 09, 2014 at 04:00:01PM +0100, Antonios Motakis wrote: > > At runtime vhost-user netdev will detect if the vhost backend is up or > dow

Re: [Qemu-devel] [PATCH v5 7/7] Add vhost-user reconnection

2014-01-10 Thread Antonios Motakis
On Thu, Jan 9, 2014 at 5:16 PM, Michael S. Tsirkin wrote: > On Thu, Jan 09, 2014 at 04:00:01PM +0100, Antonios Motakis wrote: > > At runtime vhost-user netdev will detect if the vhost backend is up or > down. > > Upon disconnection it will set link_down accordingly and notify > virtio-net. > > An

Re: [Qemu-devel] [PATCH v5 7/7] Add vhost-user reconnection

2014-01-09 Thread Michael S. Tsirkin
On Thu, Jan 09, 2014 at 04:00:01PM +0100, Antonios Motakis wrote: > At runtime vhost-user netdev will detect if the vhost backend is up or down. > Upon disconnection it will set link_down accordingly and notify virtio-net. And then what happens? > > Signed-off-by: Antonios Motakis > Signed-off-

[Qemu-devel] [PATCH v5 7/7] Add vhost-user reconnection

2014-01-09 Thread Antonios Motakis
At runtime vhost-user netdev will detect if the vhost backend is up or down. Upon disconnection it will set link_down accordingly and notify virtio-net. Signed-off-by: Antonios Motakis Signed-off-by: Nikolay Nikolaev --- hw/net/vhost_net.c| 16 +++ hw/virtio/vhost-backen