Implement and test ASN.1 BER visitors
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest8 patches 1 replyIn review
- v49 patches 4 repliesSuperseded
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Move some contents of savevm.c to qemu-file.cinclude/ savevm.c util/ +1 more | +722 | 0 replies | |
| 2/8 | 3 new file wrappersinclude/ util/ | +33 | 0 replies | |
| 3/8 | QEMUSizedBufferinclude/ include/ util/ | +436 | 0 replies | |
| 4/8 | QAPI: add type_sized_bufferinclude/ include/ qapi/ | +14 | 0 replies | |
| 5/8 | ASN.1 output visitorconfigure include/ include/ +6 more | +1027 | 0 replies | |
| 6/8 | ASN.1 input visitorinclude/ qapi/ qapi/ | +1184 | 0 replies | |
| 7/8 | Extend test-visitor-serialization with ASN.1 visitor(s)tests/ tests/ | +79 | 0 replies | |
| 8/8 | ASN.1 specific test casestests/ tests/ | +907 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [Qemu-devel] [PATCH v5 0/8] Implement and test ASN.1 BER visitors
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
Signature · 1 line
1.7.11.7