]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add script hook support to the QEmu driver
authorDaniel Veillard <veillard@redhat.com>
Fri, 26 Mar 2010 14:57:58 +0000 (15:57 +0100)
committerDaniel Veillard <veillard@redhat.com>
Mon, 29 Mar 2010 16:21:26 +0000 (18:21 +0200)
commit668150fc3d3e20b0c63331f50bb0ab880b6bfe6e
tree94a1857020dd32a1a24b72b36867f7154991e3f0
parent53456e62edf317702a533ba4507037f3bde6c9ec
Add script hook support to the QEmu driver

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

* src/qemu/qemu_driver.c: implement synchronous script hooks for QEmu
  at domain startup and end
src/qemu/qemu_driver.c