From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TssOc-0004g2-Nj for qemu-devel@nongnu.org; Wed, 09 Jan 2013 04:56:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TssOb-00056s-B6 for qemu-devel@nongnu.org; Wed, 09 Jan 2013 04:56:30 -0500 Received: from mail-bk0-f42.google.com ([209.85.214.42]:51043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TssOb-00056g-3K for qemu-devel@nongnu.org; Wed, 09 Jan 2013 04:56:29 -0500 Received: by mail-bk0-f42.google.com with SMTP id ji2so778616bkc.1 for ; Wed, 09 Jan 2013 01:56:27 -0800 (PST) Date: Wed, 9 Jan 2013 10:56:25 +0100 From: Stefan Hajnoczi Message-ID: <20130109095625.GC31050@stefanha-thinkpad.redhat.com> References: <1356690724-37891-1-git-send-email-jasowang@redhat.com> <1356690724-37891-2-git-send-email-jasowang@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1356690724-37891-2-git-send-email-jasowang@redhat.com> Subject: Re: [Qemu-devel] [PATCH 01/12] tap: multiqueue support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: krkumar2@in.ibm.com, aliguori@us.ibm.com, kvm@vger.kernel.org, mst@redhat.com, mprivozn@redhat.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, stefanha@redhat.com, jwhan@filewood.snu.ac.kr, shiyer@redhat.com On Fri, Dec 28, 2012 at 06:31:53PM +0800, Jason Wang wrote: > diff --git a/qapi-schema.json b/qapi-schema.json > index 5dfa052..583eb7c 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -2465,7 +2465,7 @@ > { 'type': 'NetdevTapOptions', > 'data': { > '*ifname': 'str', > - '*fd': 'str', > + '*fd': ['String'], This change is not backwards-compatible. You need to add a '*fds': ['String'] field instead. > '*script': 'str', > '*downscript': 'str', > '*helper': 'str', > @@ -2473,7 +2473,8 @@ > '*vnet_hdr': 'bool', > '*vhost': 'bool', > '*vhostfd': 'str', > - '*vhostforce': 'bool' } } > + '*vhostforce': 'bool', > + '*queues': 'uint32'} } The 'queues' parameter should not be necessary when fd passing is used since we can learn the number of queues by looking at the list length. Stefan