|
From: | Markus Armbruster |
Subject: | Re: [Qemu-devel] Error propagation in generated visitors and command marshallers |
Date: | Fri, 11 Apr 2014 10:20:00 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Anthony Liguori <address@hidden> writes: > The original visiting code was loosely based on ASN1 marshaling code > from Samba which used the "if error, bail out at the top" style of > error handling. > > As use of Error has evolved in QEMU, I agree that the paradigm of > "bail out as soon as you see an error and fail fast" is better so I'd > vote for changing the generated code to do that. Okay, I'll give it a try. Thanks!
[Prev in Thread] | Current Thread | [Next in Thread] |