From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIkFQ-0007L3-UR for qemu-devel@nongnu.org; Thu, 21 Mar 2013 14:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIkFI-0001fS-VP for qemu-devel@nongnu.org; Thu, 21 Mar 2013 14:29:56 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:40069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIkFF-0001ei-4Y for qemu-devel@nongnu.org; Thu, 21 Mar 2013 14:29:48 -0400 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 21 Mar 2013 14:29:44 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id C67F06E802A for ; Thu, 21 Mar 2013 14:29:39 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r2LITf9d282804 for ; Thu, 21 Mar 2013 14:29:41 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r2LITdsR018796 for ; Thu, 21 Mar 2013 14:29:41 -0400 From: Stefan Berger Date: Thu, 21 Mar 2013 14:29:22 -0400 Message-Id: <1363890571-15146-1-git-send-email-stefanb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v4 0/9] Subject: Implement and test ASN.1 BER visitors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stefanb@linux.vnet.ibm.com, qemu-devel@nongnu.org, anthony@codemonkey.ws Cc: jschopp@linux.vnet.ibm.com, coreyb@linux.vnet.ibm.com, mdroth@linux.vnet.ibm.com, mst@redhat.com This patch series implements ASN.1 BER visitors for encoding and decoding of data into byte streams. Stefan Berger (9): Move some contents of savevm.c to qemu-file.c 3 new file wrappers QEMUSizedBuffer QAPI: add type_sized_buffer ASN.1 output visitor ASN.1 input visitor Extend test-visitor-serialization with ASN.1 visitor(s) Update MAINTAINERS ASN.1 specific test cases MAINTAINERS | 8 + configure | 2 +- include/migration/qemu-file.h | 22 + include/qapi/ber-input-visitor.h | 30 + include/qapi/ber-output-visitor.h | 28 + include/qapi/ber.h | 107 ++++ include/qapi/visitor-impl.h | 3 + include/qapi/visitor.h | 3 + include/qemu-common.h | 14 + qapi/Makefile.objs | 1 + qapi/ber-common.c | 86 +++ qapi/ber-common.h | 29 + qapi/ber-input-visitor.c | 1141 +++++++++++++++++++++++++++++++++ qapi/ber-output-visitor.c | 673 ++++++++++++++++++++ qapi/qapi-visit-core.c | 8 + savevm.c | 690 -------------------- tests/Makefile | 11 +- tests/test-ber-visitor.c | 746 ++++++++++++++++++++++ tests/test-visitor-serialization.c | 73 +++ util/Makefile.objs | 1 + util/qemu-file.c | 1214 ++++++++++++++++++++++++++++++++++++ 21 files changed, 4198 insertions(+), 692 deletions(-) create mode 100644 include/qapi/ber-input-visitor.h create mode 100644 include/qapi/ber-output-visitor.h create mode 100644 include/qapi/ber.h create mode 100644 qapi/ber-common.c create mode 100644 qapi/ber-common.h create mode 100644 qapi/ber-input-visitor.c create mode 100644 qapi/ber-output-visitor.c create mode 100644 tests/test-ber-visitor.c create mode 100644 util/qemu-file.c -- 1.7.11.7