summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-29 13:55:52 +0100
committerRichard Jones <rjones@redhat.com>2010-04-29 13:55:52 +0100
commit55641f5d1e9964f8a039005b511b8e688c92cddb (patch)
tree23c5ac8693f9956afb9e93584f8b654bac975bf1
parentd3be0facdd688f06eb4bc3743b53226f2d060482 (diff)
downloadlibguestfs-55641f5d1e9964f8a039005b511b8e688c92cddb.tar.gz
libguestfs-55641f5d1e9964f8a039005b511b8e688c92cddb.tar.xz
libguestfs-55641f5d1e9964f8a039005b511b8e688c92cddb.zip
guestfs(3): Documentation on protocol gotchas.
-rw-r--r--src/guestfs.pod17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod
index 584e996a..e1fa4f5a 100644
--- a/src/guestfs.pod
+++ b/src/guestfs.pod
@@ -610,6 +610,23 @@ the error message was also unintuitive, but we have corrected this
since. Like the Bourne shell, we should have used C<guestfish -c
command> to run commands.
+=item Protocol limit of 256 characters for error messages
+
+This limit is both rather small and quite unnecessary. We should be
+able to return error messages up to the length of the protocol message
+(2-4 MB).
+
+Note that we cannot change the protocol without some breakage, because
+there are distributions that repackage the Fedora appliance.
+
+=item Protocol should return errno with error messages.
+
+It would be a nice-to-have to be able to get the original value of
+'errno' from inside the appliance along error paths (where set).
+Currently L<guestmount(1)> goes through hoops to try to reverse the
+error message string into an errno, see the function error() in
+fuse/guestmount.c.
+
=back
=head2 PROTOCOL LIMITS