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

[libvirt] [PATCH 00/11] Allow access to text console with virStream APIs (v3)



An update of the patches in

  http://www.redhat.com/archives/libvir-list/2010-November/msg00022.html
  http://www.redhat.com/archives/libvir-list/2010-August/msg00379.html

The end goal is to allow 'virsh console' to work unprivileged,
and/or over remote connections.

This version fixes the problems Eric identified, and also fixes the
build of virsh on mingw32, by adding missing thread portability
routines.

 .x-sc_avoid_write                   |    1 
 configure.ac                        |    3 
 daemon/event.c                      |   87 +++---
 daemon/remote.c                     |   52 +++
 daemon/remote_dispatch_args.h       |    1 
 daemon/remote_dispatch_prototypes.h |    8 
 daemon/remote_dispatch_table.h      |    5 
 daemon/stream.c                     |    7 
 include/libvirt/libvirt.h.in        |    6 
 include/libvirt/virterror.h         |    3 
 src/Makefile.am                     |    1 
 src/driver.h                        |    6 
 src/esx/esx_driver.c                |    1 
 src/fdstream.c                      |  504 ++++++++++++++++++++++++++++++++++++
 src/fdstream.h                      |   44 +++
 src/libvirt.c                       |   53 +++
 src/libvirt_private.syms            |   11 
 src/libvirt_public.syms             |    5 
 src/lxc/lxc_driver.c                |   66 ++++
 src/opennebula/one_driver.c         |    1 
 src/openvz/openvz_driver.c          |    1 
 src/phyp/phyp_driver.c              |    1 
 src/qemu/qemu_driver.c              |  361 +++++--------------------
 src/remote/remote_driver.c          |  259 ++++++++++++++++--
 src/remote/remote_protocol.c        |   13 
 src/remote/remote_protocol.h        |   10 
 src/remote/remote_protocol.x        |    9 
 src/remote_protocol-structs         |    5 
 src/test/test_driver.c              |    1 
 src/uml/uml_driver.c                |   76 +++++
 src/util/threads-pthread.c          |   45 +++
 src/util/threads-pthread.h          |    4 
 src/util/threads-win32.c            |   47 +++
 src/util/threads-win32.h            |    3 
 src/util/threads.h                  |   15 +
 src/util/virterror.c                |    3 
 src/vbox/vbox_tmpl.c                |    1 
 src/xen/xen_driver.c                |   58 ++++
 src/xenapi/xenapi_driver.c          |    1 
 tools/Makefile.am                   |    1 
 tools/console.c                     |  330 +++++++++++++++++------
 tools/console.h                     |    2 
 tools/virsh.c                       |   76 +----
 tools/virsh.pod                     |    7 
 44 files changed, 1695 insertions(+), 499 deletions(-)


Daniel


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