xenopsd manages VMs running
- on Xen, via direct libxc calls
- on Xen/KVM via libvirt [experimental]
- on KVM via qemu directly [experimental]
and provides a simple RPC control interface to the layer above (typically xapi).
This branch adds coverage profiling with bisect_ppx. Binaries write
bisect*.out files, when they exit to the current directory. These files
can be analysed with bisect-ppx-report:
bisect-ppx-report -I _build -html coverage *.out
bisect-ppx-report -I _build -text coverage.txt *.out
By default, an instrumented binary writes to $CWD/bisect*.out. In the
case of xenopsd in producition, this would be /. To avoid writing to /
and to avoid several services writing to the same place, start xenopsd
binaries with an evironment variable pointing to a better place:
BISECT_FILE="/tmp/xenopsd-bisect"