This is a re-post of the previous patch I sent: https://www.redhat.com/archives/libvir-list/2015-May/msg00812.html The only change is to actually send the 2 pre-requisite patches for it ! Daniel P. Berrange (3): rpc: allow selection of TCP address family rpc: add API for checking IPv4/6 availability rpc: add testing of RPC JSON (de)serialization daemon/libvirtd.c | 2 + src/libvirt_remote.syms | 2 + src/libxl/libxl_migration.c | 8 +- src/qemu/qemu_migration.c | 4 +- src/remote/remote_driver.c | 3 +- src/rpc/virnetclient.c | 12 +- src/rpc/virnetclient.h | 4 +- src/rpc/virnetserver.c | 4 +- src/rpc/virnetserver.h | 3 + src/rpc/virnetserverclient.c | 13 +- src/rpc/virnetserverservice.c | 8 +- src/rpc/virnetserverservice.h | 1 + src/rpc/virnetsocket.c | 74 +++++- src/rpc/virnetsocket.h | 6 + tests/Makefile.am | 7 + tests/virnetserverdata/README | 14 + .../virnetserverdata/input-data-anon-clients.json | 63 +++++ tests/virnetserverdata/input-data-initial.json | 62 +++++ .../virnetserverdata/output-data-anon-clients.json | 63 +++++ tests/virnetserverdata/output-data-initial.json | 63 +++++ tests/virnetservertest.c | 290 +++++++++++++++++++++ tests/virnetsockettest.c | 44 +--- 22 files changed, 695 insertions(+), 55 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.json create mode 100644 tests/virnetserverdata/output-data-anon-clients.json create mode 100644 tests/virnetserverdata/output-data-initial.json create mode 100644 tests/virnetservertest.c -- 2.4.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list