[PATCH 0/5] Add LibSSH2 transport

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

 



This patchset adds LibSSH2 transport implementation for libvirt's virNetSocket
object and other needed places to enable connections using the native library
instead of spawning the ssh client and communicating using pipes.

This patchset lacks addition of documentation (I'll do that later, but I'd like
                                               to get the code sorted out) but
otherwise should be fully functional.

The commit message to the last patch describes the configuration variables used
to set parameters of the transport. The setting is done using uri arguments.

Thanks in advance for reviews and comments :)

Peter

Peter Krempa (5):
  remote: Clean up coding style and refactor remote connection opening
  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               |    9 +
 src/libvirt_private.syms      |    1 +
 src/remote/remote_driver.c    |  339 ++++++-----
 src/rpc/virnetclient.c        |  120 ++++-
 src/rpc/virnetclient.h        |   14 +-
 src/rpc/virnetlibsshcontext.c | 1444 +++++++++++++++++++++++++++++++++++++++++
 src/rpc/virnetlibsshcontext.h |   83 +++
 src/rpc/virnetsocket.c        |  178 +++++-
 src/rpc/virnetsocket.h        |   13 +
 src/util/virterror.c          |    8 +-
 13 files changed, 2092 insertions(+), 160 deletions(-)
 create mode 100644 src/rpc/virnetlibsshcontext.c
 create mode 100644 src/rpc/virnetlibsshcontext.h

-- 
1.7.8.6

--
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]