1. 15 3月, 2011 1 次提交
    • D
      Make LXC container startup/shutdown/I/O more robust · 4e3117ae
      Daniel P. Berrange 提交于
      The current LXC I/O controller looks for HUP to detect
      when a guest has quit. This isn't reliable as during
      initial bootup it is possible that 'init' will close
      the console and let mingetty re-open it. The shutdown
      of containers was also flakey because it only killed
      the libvirt I/O controller and expected container
      processes to gracefully follow.
      
      Change the I/O controller such that when it see HUP
      or an I/O error, it uses kill($PID, 0) to see if the
      process has really quit.
      
      Change the container shutdown sequence to use the
      virCgroupKillPainfully function to ensure every
      really goes away
      
      This change makes the use of the 'cpu', 'devices'
      and 'memory' cgroups controllers compulsory with
      LXC
      
      * docs/drvlxc.html.in: Document that certain cgroups
        controllers are now mandatory
      * src/lxc/lxc_controller.c: Check if PID is still
        alive before quitting on I/O error/HUP
      * src/lxc/lxc_driver.c: Use virCgroupKillPainfully
      4e3117ae
  2. 25 8月, 2010 1 次提交
    • S
      docs: fix lxc examples · e9406e9e
      Serge Hallyn 提交于
      * docs/drvlxc.html.in: Use correct VM name, and mention that
      libvirt_lxc might be in an alternate location.
      e9406e9e
  3. 17 11月, 2009 1 次提交
  4. 06 11月, 2009 1 次提交
    • M
      Cleanup whitespace in docs · c6d5ac17
      Matthew Booth 提交于
      This patch is the result of running the following command in the docs
      directory: sed -i 's/\t/        /g; s/\s*$//' *.html.in
      
      * docs/*.html.in:convert tabs into 8 spaces and remove trailing whitespace
      c6d5ac17
  5. 17 4月, 2009 1 次提交
    • D
      Small doc fixes · 81e6a221
      Daniel Veillard 提交于
      * src/libvirt.c: fix the doc of virNodeGetFreeMemory to say bytes
      * docs/drvlxc.html.in docs/drvlxc.html: fix command used in examples
      daniel
      81e6a221
  6. 16 4月, 2009 1 次提交
  7. 24 4月, 2008 1 次提交