diff --git a/doc/manual/development.xml b/doc/manual/development.xml
index 3887904a92e..c8001a5c6d7 100644
--- a/doc/manual/development.xml
+++ b/doc/manual/development.xml
@@ -480,6 +480,52 @@ $ qemu-system-x86_64 -kernel ./kernel/bzImage -initrd ./initrd/initrd -hda /dev/
a NixOS or Nixpkgs change.
+
+ The actual Nix programming interface to VM testing is in NixOS,
+ under
+ lib/testing.nix. This file defines a
+ function which takes an attribute set containing a
+ nixpkgs attribute (the path to a Nixpkgs
+ checkout), and a system attribute (the system
+ type). It returns an attribute set containing several utility
+ functions, among which the main entry point is
+ makeTest.
+
+
+
+ The makeTest function takes a function similar to
+ that found in
+ tests/nfs.nix (discussed above). It
+ returns an attribute set containing (among others):
+
+
+
+
+ test
+ A derivation containing the test log as an HTML file,
+ as seen above, suitable for presentation in the Hydra continuous
+ build system.
+
+
+
+ report
+ A derivation containing a code coverage report, with
+ meta-data suitable for Hydra.
+
+
+
+ driver
+ A derivation containing scripts to run the VM test or
+ interact with the VM network interactively, as seen above.
+
+
+
+
+
+
+