This is a second respin of the LibSSH2 transport patch series.
The most notable changes:
-------------------------
- Rebased on top of current upstream (virObject, new error codes)
- ported to use virObject stuff
- re-named all functions and other literals to contain the "2"
- implemented suggestions from Eric's review
- added symbol file and various other cleanups
The easiest way to test the actual implementation is to apply the patchset and
try connecting to a remote host using virsh and then trying some API's. The
most complex part of the code are the various authentication options that can
be selected in the connection URI.
Peter Krempa (4):
libssh2_transport: add main libssh2 transport implementation
libssh2_transport: add ssh context support to virNetSocket
libssh2_transport: Add libssh2 session support to net client code
libssh2_transport: Use libssh2 driver code in remote driver
configure.ac | 40 +-
include/libvirt/virterror.h | 2 +
po/POTFILES.in | 1 +
src/Makefile.am | 16 +-
src/libvirt_libssh2.syms | 18 +
src/libvirt_private.syms | 2 +
src/remote/remote_driver.c | 47 ++-
src/rpc/virnetclient.c | 117 ++++
src/rpc/virnetclient.h | 14 +-
src/rpc/virnetlibssh2session.c | 1464 ++++++++++++++++++++++++++++++++++++++++
src/rpc/virnetlibssh2session.h | 83 +++
src/rpc/virnetsocket.c | 178 +++++-
src/rpc/virnetsocket.h | 13 +
src/util/virterror.c | 8 +-
14 files changed, 1993 insertions(+), 10 deletions(-)
create mode 100644 src/libvirt_libssh2.syms
create mode 100644 src/rpc/virnetlibssh2session.c
create mode 100644 src/rpc/virnetlibssh2session.h
--
1.7.8.6