]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add script hook support to the LXC driver
authorDaniel Veillard <veillard@redhat.com>
Fri, 26 Mar 2010 15:02:05 +0000 (16:02 +0100)
committerDaniel Veillard <veillard@redhat.com>
Mon, 29 Mar 2010 16:21:26 +0000 (18:21 +0200)
commit86415b2d260a30163591366f8846ebf4c1940bda
treea7981e00b876f7c42a282177b02e86e22f670efa
parent668150fc3d3e20b0c63331f50bb0ab880b6bfe6e
Add script hook support to the LXC driver

Right now this implements only 2 basic hooks:
- before the lxc control process is being launched
- after the lxc control process is terminated
the XML description of the domain is passed to the hook script stdin
/etc/libvirt/hook/lxc

* src/lxc/lxc_driver.c: implement synchronous script hooks for LXC
  at domain startup and end
src/lxc/lxc_driver.c