summaryrefslogtreecommitdiffstats
path: root/perl/lib
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-13 18:03:41 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-13 18:03:41 +0100
commit5d628a4a9cc11eb9a61a1dc683aadca9ac378736 (patch)
tree74f57429a9f2ec2dd3358ab333a66fef22c9156c /perl/lib
parente8ecc08f663b44f3d79517affe52f137858dfe00 (diff)
downloadlibguestfs-5d628a4a9cc11eb9a61a1dc683aadca9ac378736.tar.gz
libguestfs-5d628a4a9cc11eb9a61a1dc683aadca9ac378736.tar.xz
libguestfs-5d628a4a9cc11eb9a61a1dc683aadca9ac378736.zip
Don't stash strings in the handle.
- makes it impossible to write bindings for set_{path,qemu,append} functions
Diffstat (limited to 'perl/lib')
-rw-r--r--perl/lib/Sys/Guestfs.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm
index d803ce11..13c084f7 100644
--- a/perl/lib/Sys/Guestfs.pm
+++ b/perl/lib/Sys/Guestfs.pm
@@ -889,9 +889,6 @@ guest kernel command line.
The default is C<NULL> unless overridden by setting
C<LIBGUESTFS_APPEND> environment variable.
-The string C<append> is stashed in the libguestfs handle, so the caller
-must make sure it remains valid for the lifetime of the handle.
-
Setting C<append> to C<NULL> means I<no> additional options
are passed (libguestfs always adds a few of its own).
@@ -938,9 +935,6 @@ Set the path that libguestfs searches for kernel and initrd.img.
The default is C<$libdir/guestfs> unless overridden by setting
C<LIBGUESTFS_PATH> environment variable.
-The string C<path> is stashed in the libguestfs handle, so the caller
-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_qemu ($qemu);
@@ -953,9 +947,6 @@ configure script.
You can also override this by setting the C<LIBGUESTFS_QEMU>
environment variable.
-The string C<qemu> is stashed in the libguestfs handle, so the caller
-must make sure it remains valid for the lifetime of the handle.
-
Setting C<qemu> to C<NULL> restores the default qemu binary.
=item $h->set_ready ();