summaryrefslogtreecommitdiffstats
path: root/perl/lib/Sys
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-20 00:22:02 +0100
committerRichard Jones <rjones@redhat.com>2009-04-20 00:22:02 +0100
commit170f262f0413de843af62b968f6d12c1c476ae7f (patch)
treeb9be7ae0e59f784dfdd57ef063536218ee3f0c7d /perl/lib/Sys
parentd5151686d82b66c50935010fd5458be0e4386bab (diff)
downloadlibguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.tar.gz
libguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.tar.xz
libguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.zip
Implement upload and download commands.
Diffstat (limited to 'perl/lib/Sys')
-rw-r--r--perl/lib/Sys/Guestfs.pm14
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>).