[PATCH 00/10] Allow access to text console with virStream APIs (v2)

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

 



An update of the patches in 

  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. 

The main change in this version, is that the streams code has been
pulled out of the QEMU driver, into a 'fdstream.h' file, so that
90% of the code can be shared across LXC/UML/Xen drivers.

 .x-sc_avoid_write                   |    1 
 daemon/remote.c                     |   95 +++++++
 daemon/remote_dispatch_args.h       |    2 
 daemon/remote_dispatch_prototypes.h |   16 +
 daemon/remote_dispatch_table.h      |   10 
 daemon/stream.c                     |    7 
 include/libvirt/libvirt.h.in        |   16 +
 include/libvirt/virterror.h         |    3 
 src/Makefile.am                     |    1 
 src/driver.h                        |   10 
 src/esx/esx_driver.c                |    1 
 src/fdstream.c                      |  472 ++++++++++++++++++++++++++++++++++++
 src/fdstream.h                      |   44 +++
 src/libvirt.c                       |   96 +++++++
 src/libvirt_private.syms            |    7 
 src/libvirt_public.syms             |    2 
 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              |  359 ++++++---------------------
 src/remote/remote_driver.c          |  324 +++++++++++++++++++++---
 src/remote/remote_protocol.c        |   37 ++
 src/remote/remote_protocol.h        |   28 ++
 src/remote/remote_protocol.x        |   21 +
 src/remote_protocol-structs         |    5 
 src/test/test_driver.c              |    1 
 src/uml/uml_driver.c                |   76 +++++
 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 +----
 36 files changed, 1712 insertions(+), 463 deletions(-)


Daniel

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