[PATCH v2 0/5] RPC JSON (de)serialization and fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I took the liberty of changing Daniel's version and fix it up a bit.
I've split it into multiple patches, removed unneeded functions, and
fixed it for building without avahi.


First version here:

https://www.redhat.com/archives/libvir-list/2015-May/msg00812.html


Daniel P. Berrange (4):
  rpc: add testing of RPC JSON (de)serialization
  rpc: Make virNetServerAddClient function dynamic
  rpc: Don't use unrelated value as privateData of client
  rpc: Fix reference counting around virNetSocketAddIOCallback

Martin Kletzander (1):
  mdns: Set error when failing due to missing avahi

 src/libvirt_remote.syms                            |   1 +
 src/rpc/virnetserver.c                             |   4 +-
 src/rpc/virnetserver.h                             |   3 +
 src/rpc/virnetserverclient.c                       |  13 +-
 src/rpc/virnetservermdns.c                         |   8 +-
 src/rpc/virnetserverservice.c                      |   6 +-
 tests/Makefile.am                                  |   7 +
 tests/virnetserverdata/README                      |  14 +
 .../virnetserverdata/input-data-anon-clients.json  |  62 +++++
 .../input-data-initial-nomdns.json                 |  61 +++++
 tests/virnetserverdata/input-data-initial.json     |  62 +++++
 .../virnetserverdata/output-data-anon-clients.json |  62 +++++
 .../output-data-initial-nomdns.json                |  62 +++++
 tests/virnetserverdata/output-data-initial.json    |  63 +++++
 tests/virnetservertest.c                           | 284 +++++++++++++++++++++
 15 files changed, 698 insertions(+), 14 deletions(-)
 create mode 100644 tests/virnetserverdata/README
 create mode 100644 tests/virnetserverdata/input-data-anon-clients.json
 create mode 100644 tests/virnetserverdata/input-data-initial-nomdns.json
 create mode 100644 tests/virnetserverdata/input-data-initial.json
 create mode 100644 tests/virnetserverdata/output-data-anon-clients.json
 create mode 100644 tests/virnetserverdata/output-data-initial-nomdns.json
 create mode 100644 tests/virnetserverdata/output-data-initial.json
 create mode 100644 tests/virnetservertest.c

--
2.4.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]