From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH 1/3] virtio: find_vqs/del_vqs virtio operations Date: Wed, 13 May 2009 21:03:51 +0930 Message-ID: <200905132103.52559.rusty@rustcorp.com.au> References: <200905131047.09416.rusty@rustcorp.com.au> <20090513071834.GC31139@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Christian Borntraeger , virtualization@lists.linux-foundation.org, Anthony Liguori , kvm@vger.kernel.org, avi@redhat.com, Carsten Otte To: "Michael S. Tsirkin" Return-path: Received: from ozlabs.org ([203.10.76.45]:47985 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755070AbZEMLeI (ORCPT ); Wed, 13 May 2009 07:34:08 -0400 In-Reply-To: <20090513071834.GC31139@redhat.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 13 May 2009 04:48:34 pm Michael S. Tsirkin wrote: > Let's just add a helper function for the single vq case? > > static inline struct virtqueue *virtio_find_vq(struct virtio_devide *vdev, > vq_callback_t *c, const char *n) virtio_find_single_vq() to emphasize the singular nature, and it looks good. Thanks! Rusty.