[libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Michal Novotny
This patch introduces a new structure called virErrorsPtr which can get all the errors that occurred since the connection open. The error callback function is being used as many times as necessary. The new public function called virGetAllErrors() has been introduced to get all the errors that

Re: [libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Michal Novotny
Oops, I'm sorry as this didn't pass the syntax check. To pass the syntax check the new add-on patch is necessary: diff --git a/src/util/virterror.c b/src/util/virterror.c index b03ae7c..55269b9 100644 --- a/src/util/virterror.c +++ b/src/util/virterror.c @@ -198,8 +198,7 @@

Re: [libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Daniel P. Berrange
On Thu, Jan 19, 2012 at 02:13:59PM +0100, Michal Novotny wrote: This patch introduces a new structure called virErrorsPtr which can get all the errors that occurred since the connection open. The error callback function is being used as many times as necessary. The new public function called

Re: [libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Michal Novotny
On 01/19/2012 02:20 PM, Daniel P. Berrange wrote: On Thu, Jan 19, 2012 at 02:13:59PM +0100, Michal Novotny wrote: This patch introduces a new structure called virErrorsPtr which can get all the errors that occurred since the connection open. The error callback function is being used as many

Re: [libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Daniel P. Berrange
On Thu, Jan 19, 2012 at 02:25:55PM +0100, Michal Novotny wrote: On 01/19/2012 02:20 PM, Daniel P. Berrange wrote: On Thu, Jan 19, 2012 at 02:13:59PM +0100, Michal Novotny wrote: This patch introduces a new structure called virErrorsPtr which can get all the errors that occurred since the

Re: [libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Michal Novotny
On 01/19/2012 02:28 PM, Daniel P. Berrange wrote: On Thu, Jan 19, 2012 at 02:25:55PM +0100, Michal Novotny wrote: On 01/19/2012 02:20 PM, Daniel P. Berrange wrote: On Thu, Jan 19, 2012 at 02:13:59PM +0100, Michal Novotny wrote: This patch introduces a new structure called virErrorsPtr which