summaryrefslogtreecommitdiffstats
path: root/java/com
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-04-23 14:39:31 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-04-23 14:39:31 +0100
commit8f9f02d483b87c787d089cf9329f5f1b81d3a77e (patch)
treeee1c0403092e9dd296c43706a0c7c2d14d5a5c19 /java/com
parent713283f4a67b3a1960ca96ce6608d046fc202d2d (diff)
downloadlibguestfs-8f9f02d483b87c787d089cf9329f5f1b81d3a77e.tar.gz
libguestfs-8f9f02d483b87c787d089cf9329f5f1b81d3a77e.tar.xz
libguestfs-8f9f02d483b87c787d089cf9329f5f1b81d3a77e.zip
Generated code for debug command.
Diffstat (limited to 'java/com')
-rw-r--r--java/com/redhat/et/libguestfs/GuestFS.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/java/com/redhat/et/libguestfs/GuestFS.java b/java/com/redhat/et/libguestfs/GuestFS.java
index bb6c8d70..f1cd508b 100644
--- a/java/com/redhat/et/libguestfs/GuestFS.java
+++ b/java/com/redhat/et/libguestfs/GuestFS.java
@@ -2186,4 +2186,27 @@ public class GuestFS {
private native void _mount_vfs (long g, String options, String vfstype, String device, String mountpoint)
throws LibGuestFSException;
+ /**
+ * debugging and internals
+ *
+ * The "g.debug" command exposes some internals of
+ * "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 "daemon/debug.c" in the
+ * libguestfs source to find out what you can do.
+ *
+ * @throws LibGuestFSException
+ */
+ public String debug (String subcmd, String[] extraargs)
+ throws LibGuestFSException
+ {
+ if (g == 0)
+ throw new LibGuestFSException ("debug: handle is closed");
+ return _debug (g, subcmd, extraargs);
+ }
+ private native String _debug (long g, String subcmd, String[] extraargs)
+ throws LibGuestFSException;
+
}