Received: from eggs.gnu.org ([2001:4830:134:3::10]:47692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCwzq-0004bZ-8P for qemu-devel@nongnu.org; Mon, 10 Feb 2014 14:58:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCwzk-0005DT-U2 for qemu-devel@nongnu.org; Mon, 10 Feb 2014 14:58:26 -0500 Received: from roura.ac.upc.edu ([147.83.33.10]:44571 helo=roura.ac.upc.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCwzk-0005D2-I2 for qemu-devel@nongnu.org; Mon, 10 Feb 2014 14:58:20 -0500 From: =?utf-8?b?TGx1w61z?= Vilanova Date: Mon, 10 Feb 2014 20:58:17 +0100 Message-Id: <20140210195816.3495.74530.stgit@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 0/2] qapi: Allow modularization of QAPI schema files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Markus Armbruster , Luiz Capitulino Adds the "include(...)" primitive to the syntax of QAPI schema files, all= owing these to be modularized into multiple per-topic files in the future. Signed-off-by: Llu=C3=ADs Vilanova --- Changes in v2: * Change the scripts to use an explicit input file instead of standard in= put. * Fix "tests/Makefile" to use the new argument. * Get the input directory for the "include" directive from the input file dirname. Llu=C3=ADs Vilanova (2): qapi: Use an explicit input file qapi: Add a primitive to include other files from a QAPI schema fil= e Makefile | 24 ++++++++++++++++++------ scripts/qapi-commands.py | 10 +++++++--- scripts/qapi-types.py | 9 ++++++--- scripts/qapi-visit.py | 9 ++++++--- scripts/qapi.py | 26 +++++++++++++++++++++++--- tests/Makefile | 12 +++++++++--- 6 files changed, 69 insertions(+), 21 deletions(-) To: qemu-devel@nongnu.org Cc: Luiz Capitulino Cc: Markus Armbruster