From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Shah Subject: Re: [PATCH 1/2] virtio: Add detach unused buffer from vring Date: Thu, 24 Dec 2009 19:05:44 +0530 Message-ID: <20091224133544.GA2855@amit-x200.redhat.com> References: <1261122090.4148.24.camel@localhost.localdomain> <1261122230.4148.26.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Rusty Russell , "Michael S. Tsirkin" , Avi Kivity , netdev@vger.kernel.org, kvm@vger.kernel.org To: Shirley Ma Return-path: Content-Disposition: inline In-Reply-To: <1261122230.4148.26.camel@localhost.localdomain> Sender: netdev-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On (Thu) Dec 17 2009 [23:43:50], Shirley Ma wrote: > There's currently no way for a virtio driver to ask for unused > buffers, so it has to keep a list itself to reclaim them at shutdown. > This is redundant, since virtio_ring stores that information. So > add a new hook to do this: virtio_net will be the first user. > > Signed-off-by: Shirley Ma Acked-By: Amit Shah Amit