[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 09/30] xen: Remove virConnectPtr from virXMError



On 04/04/2010 11:36 AM, Matthias Bolte wrote:
> ---
>  src/xen/xm_internal.c |  257 +++++++++++++++++++++++--------------------------
>  1 files changed, 120 insertions(+), 137 deletions(-)
> 
> diff --git a/src/xen/xm_internal.c b/src/xen/xm_internal.c
> index b4a8117..d1265ba 100644
> --- a/src/xen/xm_internal.c
> +++ b/src/xen/xm_internal.c
> @@ -121,8 +121,8 @@ struct xenUnifiedDriver xenXMDriver = {
>      NULL, /* domainSetSchedulerParameters */
>  };
>  
> -#define xenXMError(conn, code, ...)                                        \
> -        virReportErrorHelper(conn, VIR_FROM_XENXM, code, __FILE__,         \
> +#define xenXMError(code, ...)                                              \
> +        virReportErrorHelper(NULL, VIR_FROM_XENXM, code, __FILE__,         \
>                               __FUNCTION__, __LINE__, __VA_ARGS__)

ACK, and the rest of the patch is mechanical fallout.

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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]