Re: [libvirt] [PATCH 10/30] xen: Remove virConnectPtr from virXenError/virXenErrorFunc

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

 



2010/4/5 Eric Blake <eblake@xxxxxxxxxx>:
> On 04/04/2010 11:36 AM, Matthias Bolte wrote:
>> ---
>>  src/xen/xen_hypervisor.c |  160 +++++++++++++++++++++++-----------------------
>>  1 files changed, 79 insertions(+), 81 deletions(-)
>>
>> diff --git a/src/xen/xen_hypervisor.c b/src/xen/xen_hypervisor.c
>> index 4a8769f..ae17c60 100644
>> --- a/src/xen/xen_hypervisor.c
>> +++ b/src/xen/xen_hypervisor.c
>> @@ -804,16 +804,15 @@ struct xenUnifiedDriver xenHypervisorDriver = {
>>  };
>>  #endif /* !PROXY */
>>
>> -#define virXenError(conn, code, ...)                                       \
>> +#define virXenError(code, ...)                                             \
>>          if (in_init == 0)                                                  \
>> -            virReportErrorHelper(conn, VIR_FROM_XEN, code, __FILE__,       \
>> +            virReportErrorHelper(NULL, VIR_FROM_XEN, code, __FILE__,       \
>>                                   __FUNCTION__, __LINE__, __VA_ARGS__)
>
> ACK, and the rest of the patch is mechanical fallout.
>

Thanks, pushed.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]