Re: [PATCH 4/7 v2] Turn virLogSource into a struct instead of an enum

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

 



On 03/10/2014 09:01 AM, Daniel P. Berrange wrote:
> As part of the goal to get away from doing string matching on
> filenames when deciding whether to emit a log message, turn
> the virLogSource enum into a struct which contains a log
> "name". There will eventually be one virLogSource instance
> statically declared per source file. To minimise churn in this
> commit though, a single global instance is used.
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/libvirt_private.syms           |  1 +
>  src/node_device/node_device_udev.c |  2 +-
>  src/qemu/qemu_capabilities.c       |  2 +-
>  src/util/viraudit.c                |  7 ++++---
>  src/util/viraudit.h                | 10 ++++++----
>  src/util/virerror.c                |  2 +-
>  src/util/virlog.c                  | 30 ++++++++++++------------------
>  src/util/virlog.h                  | 33 ++++++++++++++++-----------------
>  src/util/virprobe.h                |  4 ++--
>  tests/testutils.c                  |  2 +-
>  10 files changed, 45 insertions(+), 48 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]