git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change protocol to send Linux errno from daemon to library.
[libguestfs.git]
/
src
/
guestfs.pod
diff --git
a/src/guestfs.pod
b/src/guestfs.pod
index
a4d9c57
..
4dafb07
100644
(file)
--- a/
src/guestfs.pod
+++ b/
src/guestfs.pod
@@
-724,7
+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.
This could be fixed in the generator by specially marking parameters
and return values which take bytes or other units.
-=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).
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).
@@
-732,6
+732,9
@@
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.
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
=back
=head2 PROTOCOL LIMITS