diff options
Diffstat (limited to 'perl/lib')
-rw-r--r-- | perl/lib/Sys/Guestfs.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm index f624c246..bd8da0f2 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -657,6 +657,13 @@ If C<autosync> is true, this enables autosync. Libguestfs will make a best effort attempt to run C<$h-E<gt>sync> when the handle is closed (also if the program exits without closing handles). +=item $h->set_busy (); + +This sets the state to C<BUSY>. This is only used when implementing +actions using the low-level API. + +For more information on states, see L<guestfs(3)>. + =item $h->set_path ($path); Set the path that libguestfs searches for kernel and initrd.img. @@ -669,6 +676,13 @@ must make sure it remains valid for the lifetime of the handle. Setting C<path> to C<NULL> restores the default path. +=item $h->set_ready (); + +This sets the state to C<READY>. This is only used when implementing +actions using the low-level API. + +For more information on states, see L<guestfs(3)>. + =item $h->set_verbose ($verbose); If C<verbose> is true, this turns on verbose messages (to C<stderr>). |