summaryrefslogtreecommitdiffstats
path: root/java/com
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-01 11:47:31 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-01 11:47:31 +0100
commit8c3b820c2b687345448e3d74a7101b07ff32688e (patch)
tree0cf5be9515ddcaa1ef6e74c2c55fca5760400c1c /java/com
parent632012e6419f04fab93909f92ecbab5a2c590447 (diff)
downloadlibguestfs-8c3b820c2b687345448e3d74a7101b07ff32688e.tar.gz
libguestfs-8c3b820c2b687345448e3d74a7101b07ff32688e.tar.xz
libguestfs-8c3b820c2b687345448e3d74a7101b07ff32688e.zip
Generated code for ping-daemon command.
Diffstat (limited to 'java/com')
-rw-r--r--java/com/redhat/et/libguestfs/GuestFS.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/java/com/redhat/et/libguestfs/GuestFS.java b/java/com/redhat/et/libguestfs/GuestFS.java
index f56ae415..5ae2b106 100644
--- a/java/com/redhat/et/libguestfs/GuestFS.java
+++ b/java/com/redhat/et/libguestfs/GuestFS.java
@@ -2536,4 +2536,25 @@ public class GuestFS {
private native String _dmesg (long g)
throws LibGuestFSException;
+ /**
+ * ping the guest daemon
+ *
+ * This is a test probe into the guestfs daemon running
+ * inside the qemu subprocess. Calling this function checks
+ * that the daemon responds to the ping message, without
+ * affecting the daemon or attached block device(s) in any
+ * other way.
+ *
+ * @throws LibGuestFSException
+ */
+ public void ping_daemon ()
+ throws LibGuestFSException
+ {
+ if (g == 0)
+ throw new LibGuestFSException ("ping_daemon: handle is closed");
+ _ping_daemon (g);
+ }
+ private native void _ping_daemon (long g)
+ throws LibGuestFSException;
+
}