qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]