summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/README
diff options
context:
space:
mode:
authorSimon Rettberg2020-03-10 16:52:51 +0100
committerSimon Rettberg2020-03-10 16:52:51 +0100
commit92bd64aa85367ec602f714a404629d0818c17ca0 (patch)
treeba82fc46903588320646665de96f25064101464a /core/modules/run-virt/README
parent[inc/chroot] Add tmpfs layer for upperdir (diff)
downloadmltk-92bd64aa85367ec602f714a404629d0818c17ca0.tar.gz
mltk-92bd64aa85367ec602f714a404629d0818c17ca0.tar.xz
mltk-92bd64aa85367ec602f714a404629d0818c17ca0.zip
[run-virt] Add pre-exec and post-exec hooks
Diffstat (limited to 'core/modules/run-virt/README')
-rw-r--r--core/modules/run-virt/README10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/modules/run-virt/README b/core/modules/run-virt/README
index f009f55a..d079954c 100644
--- a/core/modules/run-virt/README
+++ b/core/modules/run-virt/README
@@ -139,3 +139,13 @@ Note that this is a floppy, not the cloud, so you're limited to 1.44MB of storag
Hook to set up read or write access to image. Here, only *.inc type hooks make sense, since they're
expected to set either VM_DISKFILE_RO or VM_DISKFILE_RW, depending on desired access.
+
+# pre-exec.d/
+
+Hook that is run right before the virtualizer is executed. $1 is the virtualizer ID, $2 is the
+imageuuid.
+
+# post-exec.d/
+
+Hook that is run right after the virtualizer finished executing. $1 is the virtualizer ID, $2 is the
+imageuuid.