1. 21 12月, 2012 7 次提交
  2. 19 12月, 2012 1 次提交
  3. 18 12月, 2012 14 次提交
  4. 12 12月, 2012 1 次提交
    • M
      bandwidth: Create hierarchical shaping classes · 67159f1c
      Michal Privoznik 提交于
      These classes can borrow unused bandwidth. Basically,
      only egress qdsics can have classes, therefore we can
      do this kind of traffic shaping only on host's outgoing,
      that is domain's incoming traffic.
      67159f1c
  5. 04 12月, 2012 1 次提交
  6. 01 12月, 2012 1 次提交
    • D
      Add support for shutdown / reboot APIs in LXC driver · cbb106f8
      Daniel P. Berrange 提交于
      Add support for doing controlled shutdown / reboot in the LXC
      driver. The default behaviour is to try talking to /dev/initctl
      inside the container's virtual root (/proc/$INITPID/root). This
      works with sysvinit or systemd. If that file does not exist
      then send SIGTERM (for shutdown) or SIGHUP (for reboot). These
      signals are not any kind of particular standard for shutdown
      or reboot, just something apps can choose to handle. The new
      virDomainSendProcessSignal allows for sending custom signals.
      
      We might allow the choice of SIGTERM/HUP to be configured for
      LXC containers via the XML in the future.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      cbb106f8
  7. 30 11月, 2012 1 次提交
  8. 29 11月, 2012 1 次提交
    • D
      Implement virDomainSendProcessSignal for LXC driver · 992ed55f
      Daniel P. Berrange 提交于
      Implement the new API for sending signals to processes in a guest
      for the LXC driver. Only support sending signals to the init
      process for now, because
      
       - The kernel does not appear to expose the mapping between
         container PID numbers and host PID numbers anywhere in the
         host OS namespace
       - There is no race-free way to validate whether a host PID
         corresponds to a process in a container.
      
      * src/lxc/lxc_driver.c: Allow sending processes signals
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      992ed55f
  9. 28 11月, 2012 13 次提交