summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-12 11:27:44 +0000
committerRichard Jones <rjones@redhat.com>2010-02-12 11:27:44 +0000
commit8d70639e27c79ce88c1e61898536c17cd71258e7 (patch)
tree97f53827bc927059c3b9c788512292ecac7fb8d3 /src
parentf93cbe5756cf052cce8049087afdcf714a3fc70c (diff)
downloadlibguestfs-8d70639e27c79ce88c1e61898536c17cd71258e7.tar.gz
libguestfs-8d70639e27c79ce88c1e61898536c17cd71258e7.tar.xz
libguestfs-8d70639e27c79ce88c1e61898536c17cd71258e7.zip
add_cdrom: Update docs for adding ISO images.
See also RHBZ#563450 (NB: This commit does not fix the bug).
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 44dc8a5d..2cede474 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -505,10 +505,24 @@ This function adds a virtual CD-ROM disk image to the guest.
This is equivalent to the qemu parameter C<-cdrom filename>.
-Note that this call checks for the existence of C<filename>. This
+Notes:
+
+=over 4
+
+=item *
+
+This call checks for the existence of C<filename>. This
stops you from specifying other types of drive which are supported
by qemu such as C<nbd:> and C<http:> URLs. To specify those, use
-the general C<guestfs_config> call instead.");
+the general C<guestfs_config> call instead.
+
+=item *
+
+If you just want to add an ISO file (often you use this as an
+efficient way to transfer large files into the guest), then you
+should probably use C<guestfs_add_drive_ro> instead.
+
+=back");
("add_drive_ro", (RErr, [String "filename"]), -1, [FishAlias "add-ro"],
[],