From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH v4 02/15] libxl: sanitize error handling in libxl_get_max_{cpus, nodes} Date: Mon, 25 Nov 2013 17:26:45 +0000 Message-ID: <52938855.9010903@eu.citrix.com> References: <20131122183332.11200.20231.stgit@Solace> <20131122185649.11200.73393.stgit@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131122185649.11200.73393.stgit@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli , xen-devel@lists.xen.org Cc: Marcus Granado , Keir Fraser , Ian Campbell , Li Yechen , Andrew Cooper , Juergen Gross , Ian Jackson , Jan Beulich , Justin Weaver , Matt Wilson , Elena Ufimtseva List-Id: xen-devel@lists.xenproject.org On 11/22/2013 06:56 PM, Dario Faggioli wrote: > as well as both error handling and logging in libxl_cpu_bitmap_alloc > and libxl_node_bitmap_alloc. > > Now libxl_get_max_{cpus,nodes} either return a positive number, or > a libxl error code. Thanks to that, it is possible to fix loggig for > the two bitmap allocation functions, which now happens _inside_ the > functions themselves, and report what happens more accurately. > > Signed-off-by: Dario Faggioli Acked-by: George Dunlap