summaryrefslogtreecommitdiffstats
path: root/vstf/vstf/agent/env/fsmonitor/Readme
blob: f2bf9a8eeb1d5837936fb54c8a8c560c1dae9c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FSMonitor is a daemon process which runs in the vm.
FSMonitor receive "commands" from 'VmManager' by libvirt 9pfs. 

Basically the process works like this: 
	1.The 'VmManager' writes 'command string' to 'command' file on the libvirt 9pfs used by vm.
	2.The FSMonitor constantly detects file changes on the libvirt 9pfs. 
	3.The FSMonitor finds the newly created file, it then reads the file and execute the command. 

All the dependencies of FSMonitor should be satisfied by modules in this directory.

When deploying FSMonitor, just copy this directory into the vm.