summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-04-23 14:39:18 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-04-23 14:39:18 +0100
commit713283f4a67b3a1960ca96ce6608d046fc202d2d (patch)
tree41cf0eb6730b23563eaddf2c18606c02c47cb153 /src
parent81d4a01ac03bc2996eea1ca4cc3182e50d21e6ba (diff)
downloadlibguestfs-713283f4a67b3a1960ca96ce6608d046fc202d2d.tar.gz
libguestfs-713283f4a67b3a1960ca96ce6608d046fc202d2d.tar.xz
libguestfs-713283f4a67b3a1960ca96ce6608d046fc202d2d.zip
Add outline of 'debug' command.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 9f6ed778..d2be559e 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -1467,6 +1467,18 @@ This is the same as the C<guestfs_mount> command, but it
allows you to set both the mount options and the vfstype
as for the L<mount(8)> I<-o> and I<-t> flags.");
+ ("debug", (RString "result", [String "subcmd"; StringList "extraargs"]), 76, [],
+ [],
+ "debugging and internals",
+ "\
+The C<guestfs_debug> command exposes some internals of
+C<guestfsd> (the guestfs daemon) that runs inside the
+qemu subprocess.
+
+There is no comprehensive help for this command. You have
+to look at the file C<daemon/debug.c> in the libguestfs source
+to find out what you can do.");
+
]
let all_functions = non_daemon_functions @ daemon_functions