From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Jyf-0008TX-KL for qemu-devel@nongnu.org; Tue, 14 Aug 2012 12:28:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1Jye-0006Md-9D for qemu-devel@nongnu.org; Tue, 14 Aug 2012 12:28:21 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:48186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Jye-0006MY-4g for qemu-devel@nongnu.org; Tue, 14 Aug 2012 12:28:20 -0400 Received: by yenm4 with SMTP id m4so659983yen.4 for ; Tue, 14 Aug 2012 09:28:19 -0700 (PDT) Sender: fluxion From: Michael Roth Date: Tue, 14 Aug 2012 11:27:06 -0500 Message-Id: <1344961646-21194-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] Add infrastructure for supporting QIDL annotations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, aliguori@us.ibm.com These patches are based are origin/master, and can also be obtained from: git://github.com/mdroth/qemu.git qidl-base This is a cleanup of the infrastructure bits from "[RFC v2] Use QEMU IDL for device serialization/introspection". I know this is pretty late into the release cycle, but the patches in this series have gotten decent review, and I have a seperate branch (qidl-conv1 in my github repo) that uses these bits to serialize i440fx, piix3/piix ide, usb, cirrus_vga, and a few others via QIDL. So there shouldn't be too much churn going forward. Changes since rfc v2: - Parser/Codegen fix-ups for cases encountered converting piix ide and usb. - Fixed license headers. - Stricter arg-checking for QIDL macros when passing to codegen. - Added asserts to detect mis-use of QIDL property/visitor interfaces. - Renamed QAPI visit_*_array interfaces to visit_*_carray to clarify that these are serialization routines for single-dimension C arrays.