From: Stefan Berger <stefanb@linux.vnet.ibm.com>
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
Subject: [Qemu-devel] [PATCH v5 0/8] Implement and test ASN.1 BER visitors
Date: Thu, 28 Mar 2013 07:38:11 -0400 [thread overview]
Message-ID: <1364470699-16223-1-git-send-email-stefanb@linux.vnet.ibm.com> (raw)
This patch series implements ASN.1 BER visitors for encoding and decoding
of data into byte streams.
This is the last post of this series with some issues fixed, the visitor_optional
implemented and all possible tests in test-visitor-serialization passing.
Stefan
Stefan Berger (8):
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)
ASN.1 specific test cases
configure | 2 +-
include/migration/qemu-file.h | 22 +
include/qapi/ber-input-visitor.h | 30 +
include/qapi/ber-output-visitor.h | 32 +
include/qapi/ber.h | 113 ++++
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 | 1153 ++++++++++++++++++++++++++++++++++
qapi/ber-output-visitor.c | 705 +++++++++++++++++++++
qapi/qapi-visit-core.c | 8 +
savevm.c | 690 --------------------
tests/Makefile | 15 +-
tests/test-ber-visitor.c | 894 ++++++++++++++++++++++++++
tests/test-visitor-serialization.c | 78 +++
util/Makefile.objs | 1 +
util/qemu-file.c | 1214 ++++++++++++++++++++++++++++++++++++
20 files changed, 4401 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
next reply other threads:[~2013-03-28 11:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 11:38 Stefan Berger [this message]
2013-03-28 11:38 ` [Qemu-devel] [PATCH v5 1/8] Move some contents of savevm.c to qemu-file.c Stefan Berger
2013-03-28 11:38 ` [Qemu-devel] [PATCH v5 2/8] 3 new file wrappers Stefan Berger
2013-03-28 11:38 ` [Qemu-devel] [PATCH v5 3/8] QEMUSizedBuffer Stefan Berger
2013-03-28 11:38 ` [Qemu-devel] [PATCH v5 4/8] QAPI: add type_sized_buffer Stefan Berger
2013-03-28 11:38 ` [Qemu-devel] [PATCH v5 5/8] ASN.1 output visitor Stefan Berger
2013-03-28 11:38 ` [Qemu-devel] [PATCH v5 6/8] ASN.1 input visitor Stefan Berger
2013-03-28 11:38 ` [Qemu-devel] [PATCH v5 7/8] Extend test-visitor-serialization with ASN.1 visitor(s) Stefan Berger
2013-03-28 11:38 ` [Qemu-devel] [PATCH v5 8/8] ASN.1 specific test cases Stefan Berger
2013-03-28 11:43 ` [Qemu-devel] [PATCH v5 0/8] Implement and test ASN.1 BER visitors Stefan Berger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364470699-16223-1-git-send-email-stefanb@linux.vnet.ibm.com \
--to=stefanb@linux.vnet.ibm.com \
--cc=anthony@codemonkey.ws \
--cc=coreyb@linux.vnet.ibm.com \
--cc=jschopp@linux.vnet.ibm.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).