[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 0/8] Implement and test ASN.1 BER visitors
From: |
Stefan Berger |
Subject: |
[Qemu-devel] [PATCH v5 0/8] Implement and test ASN.1 BER visitors |
Date: |
Thu, 28 Mar 2013 07:38:11 -0400 |
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
- [Qemu-devel] [PATCH v5 0/8] Implement and test ASN.1 BER visitors,
Stefan Berger <=
- [Qemu-devel] [PATCH v5 2/8] 3 new file wrappers, Stefan Berger, 2013/03/28
- [Qemu-devel] [PATCH v5 4/8] QAPI: add type_sized_buffer, Stefan Berger, 2013/03/28
- [Qemu-devel] [PATCH v5 1/8] Move some contents of savevm.c to qemu-file.c, Stefan Berger, 2013/03/28
- [Qemu-devel] [PATCH v5 3/8] QEMUSizedBuffer, Stefan Berger, 2013/03/28
- [Qemu-devel] [PATCH v5 7/8] Extend test-visitor-serialization with ASN.1 visitor(s), Stefan Berger, 2013/03/28
- [Qemu-devel] [PATCH v5 5/8] ASN.1 output visitor, Stefan Berger, 2013/03/28
- [Qemu-devel] [PATCH v5 8/8] ASN.1 specific test cases, Stefan Berger, 2013/03/28
- [Qemu-devel] [PATCH v5 6/8] ASN.1 input visitor, Stefan Berger, 2013/03/28
- Re: [Qemu-devel] [PATCH v5 0/8] Implement and test ASN.1 BER visitors, Stefan Berger, 2013/03/28