[Qemu-devel] Common header file for error codes

2014-05-21 Thread Anshul Makkar
Hi, Doesn't there exist a common header file for all the return codes. In the code I can see return values as 0, -1 etc. Am I missing something or is this some work in progress. Thanks Anshul Makkar www.justkernel.com

Re: [Qemu-devel] Common header file for error codes

2014-05-21 Thread Eric Blake
On 05/21/2014 07:24 AM, Anshul Makkar wrote: Hi, Doesn't there exist a common header file for all the return codes. In the code I can see return values as 0, -1 etc. Most functions that flag failure via the return value do so by returning merely 0 or -1. There's a few that return 0 or