X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fguestfs.pod;h=4dafb07496295c328ae45917663b7615b3e832b7;hp=5deccb5d50b633d28ee76a45e724e8d705499c3e;hb=831b1fc1805e8450202b5c2cf9ab17a163ab0cc5;hpb=8289aa1ad68ec94c87fc4d538f638d8816052d92 diff --git a/src/guestfs.pod b/src/guestfs.pod index 5deccb5..4dafb07 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -724,16 +724,7 @@ The error message you get from this is also a little obscure. This could be fixed in the generator by specially marking parameters and return values which take bytes or other units. -=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. +=item Library 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). @@ -741,6 +732,9 @@ Currently L goes through hoops to try to reverse the error message string into an errno, see the function error() in fuse/guestmount.c. +In libguestfs 1.5.4, the protocol was changed so that the +Linux errno is sent back from the daemon. + =back =head2 PROTOCOL LIMITS