[libvirt] [PATCH 2/7] lxc: Don't report error in Wait/SendContinue

Eric Blake eblake at redhat.com
Thu Jun 2 20:07:34 UTC 2011


On 06/02/2011 01:40 PM, Cole Robinson wrote:
> We will reuse these shortly, and each use should have a different error
> message.
> 
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
>  src/lxc/lxc_container.c  |   15 ++++++---------
>  src/lxc/lxc_controller.c |    5 ++++-
>  2 files changed, 10 insertions(+), 10 deletions(-)

So basically you are hoisting the error message out of the low-level
routine into the caller, for preparation of reusing the low-level
routine from different contexts where the caller can print a better message.

ACK, but again post-release.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110602/9d1f38a2/attachment-0001.sig>


More information about the libvir-list mailing list