From: Stefan Hajnoczi Subject: Re: [PATCH 01/12] tap: multiqueue support Date: Wed, 9 Jan 2013 10:56:25 +0100 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 Cc: mst@redhat.com, aliguori@us.ibm.com, stefanha@redhat.com, qemu-devel@nongnu.org, rusty@rustcorp.com.au, kvm@vger.kernel.org, mprivozn@redhat.com, shiyer@redhat.com, krkumar2@in.ibm.com, jwhan@filewood.snu.ac.kr To: Jason Wang Return-path: Received: from mail-bk0-f41.google.com ([209.85.214.41]:45275 "EHLO mail-bk0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757480Ab3AIJ43 (ORCPT ); Wed, 9 Jan 2013 04:56:29 -0500 Received: by mail-bk0-f41.google.com with SMTP id jg9so766329bkc.14 for ; Wed, 09 Jan 2013 01:56:27 -0800 (PST) Content-Disposition: inline In-Reply-To: <1356690724-37891-2-git-send-email-jasowang@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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