[Libguestfs] [PATCH] Change protocol to send Linux errno from daemon to library.
Matthew Booth
mbooth at redhat.com
Tue Aug 24 09:32:29 UTC 2010
On 23/08/10 22:43, Richard W.M. Jones wrote:
>> From 0cef389dee418992db186836c8c5f2e3a296f378 Mon Sep 17 00:00:00 2001
> From: Richard Jones<rjones at redhat.com>
> Date: Mon, 23 Aug 2010 22:19:24 +0100
> Subject: [PATCH 2/2] Change protocol to send Linux errno from daemon to library.
>
> This changes the protocol so that the Linux errno (if available)
> is sent back to the library. Note that the errno is not yet
> made available to callers, since it is not clear how best to
> present this Linux-specific number.
> ---
> daemon/proto.c | 9 +++++----
> src/generator.ml | 1 +
> src/guestfs.pod | 5 ++++-
> 3 files changed, 10 insertions(+), 5 deletions(-)
ACK.
I'm inclined to think about a more general error message structure, but
I don't see any reason that couldn't be added later if we ever found a
need for more info in the error message.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
More information about the Libguestfs
mailing list