[libvirt] [PATCH 0/6] lxc: Improve startup debugging

Cole Robinson crobinso at redhat.com
Fri May 6 17:26:05 UTC 2011


The following patches improve lxc container startup debugging, by logging
the lxc_controller and <init> commands to the domain log file.

To get there, we convert the commands to use virCommand.

Cole Robinson (6):
  command: Add virCommandEnvAddFormat
  lxc: driver: Convert emulator launching to virCommand
  lxc: driver: Improve logging when launching emulator
  command: Add virCommandExec helper
  lxc: container: Convert <init> exec to virCommand
  lxc: container: Build init cmd before we close stdout

 src/libvirt_private.syms |    2 +
 src/lxc/lxc_container.c  |   68 ++++++++--------
 src/lxc/lxc_driver.c     |  200 +++++++++++++---------------------------------
 src/util/command.c       |   45 +++++++++-
 src/util/command.h       |   17 ++++
 5 files changed, 146 insertions(+), 186 deletions(-)

-- 
1.7.4.4




More information about the libvir-list mailing list