[Qemu-devel] Re: [PATCHv2] virtio-net: unify vhost-net start/stop

2010-10-03 Thread Michael S. Tsirkin
On Tue, Sep 28, 2010 at 09:16:34AM -0600, Alex Williamson wrote: > On Mon, 2010-09-27 at 23:52 +0200, Michael S. Tsirkin wrote: > > On Mon, Sep 27, 2010 at 01:43:11PM -0600, Alex Williamson wrote: > > > On Mon, 2010-09-27 at 18:41 +0200, Michael S. Tsirkin wrote: > > > > Move all of vhost-net start

[Qemu-devel] Re: [PATCHv2] virtio-net: unify vhost-net start/stop

2010-09-28 Thread Alex Williamson
On Mon, 2010-09-27 at 23:52 +0200, Michael S. Tsirkin wrote: > On Mon, Sep 27, 2010 at 01:43:11PM -0600, Alex Williamson wrote: > > On Mon, 2010-09-27 at 18:41 +0200, Michael S. Tsirkin wrote: > > > Move all of vhost-net start/stop logic to a single routine, > > > and call it from everywhere. > > >

[Qemu-devel] Re: [PATCHv2] virtio-net: unify vhost-net start/stop

2010-09-27 Thread Michael S. Tsirkin
On Mon, Sep 27, 2010 at 01:43:11PM -0600, Alex Williamson wrote: > On Mon, 2010-09-27 at 18:41 +0200, Michael S. Tsirkin wrote: > > Move all of vhost-net start/stop logic to a single routine, > > and call it from everywhere. > > > > Additionally, start/stop vhost-net on link up/down: > > we should

[Qemu-devel] Re: [PATCHv2] virtio-net: unify vhost-net start/stop

2010-09-27 Thread Alex Williamson
On Mon, 2010-09-27 at 18:41 +0200, Michael S. Tsirkin wrote: > Move all of vhost-net start/stop logic to a single routine, > and call it from everywhere. > > Additionally, start/stop vhost-net on link up/down: > we should not transmit anything if user asked us to > put the link down. > > Signed-o