From 15e0fd573a87488c66cb3a6f0da01f3ab5f2f6ed Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 8 May 2009 15:20:36 +0100 Subject: Generated code to support last 3 commits. --- java/com/redhat/et/libguestfs/GuestFS.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'java/com') diff --git a/java/com/redhat/et/libguestfs/GuestFS.java b/java/com/redhat/et/libguestfs/GuestFS.java index 0d9ae9df..26f1aaa6 100644 --- a/java/com/redhat/et/libguestfs/GuestFS.java +++ b/java/com/redhat/et/libguestfs/GuestFS.java @@ -534,6 +534,27 @@ public class GuestFS { private native void _set_ready (long g) throws LibGuestFSException; + /** + * leave the busy state + * + * This sets the state to "READY", or if in "CONFIG" then + * it leaves the state as is. This is only used when + * implementing actions using the low-level API. + * + * For more information on states, see guestfs(3). + * + * @throws LibGuestFSException + */ + public void end_busy () + throws LibGuestFSException + { + if (g == 0) + throw new LibGuestFSException ("end_busy: handle is closed"); + _end_busy (g); + } + private native void _end_busy (long g) + throws LibGuestFSException; + /** * mount a guest disk at a position in the filesystem * -- cgit