From: Stefan Hajnoczi Subject: Re: [PATCH 01/12] tap: multiqueue support Date: Thu, 10 Jan 2013 09:32:16 +0100 Message-ID: <20130110083216.GB20659@stefanha-thinkpad.redhat.com> References: <1356690724-37891-1-git-send-email-jasowang@redhat.com> <1356690724-37891-2-git-send-email-jasowang@redhat.com> <20130109095625.GC31050@stefanha-thinkpad.redhat.com> <50ED8BE4.4020704@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Stefan Hajnoczi , mst@redhat.com, aliguori@us.ibm.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 mx1.redhat.com ([209.132.183.28]:28951 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751791Ab3AJIca (ORCPT ); Thu, 10 Jan 2013 03:32:30 -0500 Content-Disposition: inline In-Reply-To: <50ED8BE4.4020704@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jan 09, 2013 at 11:25:24PM +0800, Jason Wang wrote: > On 01/09/2013 05:56 PM, Stefan Hajnoczi wrote: > > 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. > > I'm not quite understand this case, I think it still work when we we > just specify one fd. You are right, the QemuOpts visitor shows no incompatibility. But there is also a QMP interface: netdev_add. I think changing the type to a string list breaks compatibility there. Stefan