libvirt/src/util
Daniel P. Berrange 098dd79ee2 Turn virLogSource into a struct instead of an enum
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@redhat.com>
2014-03-18 14:29:22 +00:00
..
iohelper.c
keymaps.csv
viralloc.c
viralloc.h viralloc.h: Fix typo in VIR_APPEND_ELEMENT_COPY_QUIT 2013-10-18 15:50:31 +02:00
virarch.c Add support for detecting PPC little endian arches 2013-10-16 12:40:35 +01:00
virarch.h conf: Remove the implicit PS2 devices for non-X86 platforms 2014-02-19 09:16:31 +01:00
viratomic.c Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
viratomic.h
viraudit.c Turn virLogSource into a struct instead of an enum 2014-03-18 14:29:22 +00:00
viraudit.h Turn virLogSource into a struct instead of an enum 2014-03-18 14:29:22 +00:00
virauth.c Remove all direct use of getenv 2013-10-21 14:03:52 +01:00
virauth.h
virauthconfig.c
virauthconfig.h
virbitmap.c Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virbitmap.h
virbuffer.c maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virbuffer.h maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
vircgroup.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
vircgroup.h Ensure systemd cgroup ownership is delegated to container with userns 2014-02-24 15:35:47 +00:00
vircgrouppriv.h
virclosecallbacks.c
virclosecallbacks.h
vircommand.c Introduce vircommandpriv.h for functions used by tests 2014-03-12 15:53:16 +01:00
vircommand.h Introduce vircommandpriv.h for functions used by tests 2014-03-12 15:53:16 +01:00
vircommandpriv.h Introduce vircommandpriv.h for functions used by tests 2014-03-12 15:53:16 +01:00
virconf.c Improve virConf parse to handle LXC config format 2014-02-12 17:52:46 +00:00
virconf.h Improve virConf parse to handle LXC config format 2014-02-12 17:52:46 +00:00
vircrypto.c vircrypto: fix Invalid write in virCryptoHashString() 2014-03-12 16:01:30 -06:00
vircrypto.h Add helper APIs for generating cryptographic hashes 2014-03-10 16:39:18 +00:00
virdbus.c Check if systemd is running before creating machines 2014-03-04 09:14:52 +01:00
virdbus.h Check if systemd is running before creating machines 2014-03-04 09:14:52 +01:00
virdbuspriv.h
virdnsmasq.c
virdnsmasq.h
virebtables.c Remove unused ebtablesRemoveForwardPolicyReject method 2014-03-11 11:01:52 +00:00
virebtables.h Remove unused ebtablesRemoveForwardPolicyReject method 2014-03-11 11:01:52 +00:00
virendian.h
virerror.c Turn virLogSource into a struct instead of an enum 2014-03-18 14:29:22 +00:00
virerror.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virevent.c event: improve public API docs 2014-01-02 07:29:54 -07:00
virevent.h
vireventpoll.c Move dtrace probe macros into separate header file 2014-03-18 14:29:21 +00:00
vireventpoll.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virfile.c Add parameter to wait for lock in file locking APIs 2014-03-17 10:04:47 -06:00
virfile.h Add parameter to wait for lock in file locking APIs 2014-03-17 10:04:47 -06:00
virhash.c maint: avoid 'const fooPtr' in hashes 2013-10-14 11:40:24 -06:00
virhash.h maint: avoid 'const fooPtr' in hashes 2013-10-14 11:40:24 -06:00
virhashcode.c
virhashcode.h
virhook.c network: Introduce network hooks 2014-02-18 14:46:49 +01:00
virhook.h network: Introduce network hooks 2014-02-18 14:46:49 +01:00
virhostdev.c add hostdev pci backend type for xen 2014-03-12 17:03:23 +00:00
virhostdev.h hostdev: add virObject field to virHostdevManager struct 2014-03-13 08:41:43 -06:00
viridentity.c virIdentityGetSystem: don't fail if SELinux is disabled 2014-03-07 15:01:33 +01:00
viridentity.h
virinitctl.c Fix conflicting types of virInitctlSetRunLevel 2014-02-18 15:05:06 +01:00
virinitctl.h CVE-2013-6456: Avoid unsafe use of /proc/$PID/root in LXC shutdown/reboot code 2014-02-18 12:59:02 +00:00
viriptables.c iptables: don't log command probe failures 2014-03-11 17:43:47 -06:00
viriptables.h Fix bridge configuration when OUTPUT policy is DROP on the host 2014-01-07 18:18:29 +01:00
virjson.c src/util: Utilize more of VIR_(APPEND|INSERT|DELETE)_ELEMENT 2014-03-10 13:45:11 +01:00
virjson.h
virkeycode-mapgen.py virkeycode: Allow ANSI_A 2013-12-24 17:36:47 +01:00
virkeycode.c virkeycode: Allow ANSI_A 2013-12-24 17:36:47 +01:00
virkeycode.h
virkeyfile.c
virkeyfile.h
virkmod.c utils: Introduce functions for kernel module manipulation 2014-02-04 08:52:27 -05:00
virkmod.h utils: Introduce functions for kernel module manipulation 2014-02-04 08:52:27 -05:00
virlockspace.c Add parameter to wait for lock in file locking APIs 2014-03-17 10:04:47 -06:00
virlockspace.h
virlog.c Turn virLogSource into a struct instead of an enum 2014-03-18 14:29:22 +00:00
virlog.h Turn virLogSource into a struct instead of an enum 2014-03-18 14:29:22 +00:00
virmacaddr.c maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virmacaddr.h maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virnetdev.c Fix type mismatch of virNetDev*NetConfig on non-Linux 2014-03-12 18:17:39 +01:00
virnetdev.h Fixed const-ness of parameters in netdev/hostdev code 2014-03-12 16:03:06 +00:00
virnetdevbandwidth.c Revert "networkAllocateActualDevice: Set QoS for bridgeless networks too" 2014-01-29 19:01:19 +01:00
virnetdevbandwidth.h Revert "networkAllocateActualDevice: Set QoS for bridgeless networks too" 2014-01-29 19:01:19 +01:00
virnetdevbridge.c
virnetdevbridge.h
virnetdevmacvlan.c maint: fix comma style issues: util 2013-11-20 09:14:55 -07:00
virnetdevmacvlan.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevopenvswitch.c maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevopenvswitch.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevtap.c maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevtap.h qemu: cleanup tap devices on FreeBSD 2014-03-14 15:45:51 +01:00
virnetdevveth.c util: make it easier to grab only regular command exit 2014-03-03 12:40:32 -07:00
virnetdevveth.h
virnetdevvlan.c maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevvlan.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevvportprofile.c maint: fix comma style issues: util 2013-11-20 09:14:55 -07:00
virnetdevvportprofile.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetlink.c maint: fix comma style issues: util 2013-11-20 09:14:55 -07:00
virnetlink.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnodesuspend.c
virnodesuspend.h
virnuma.c util: Correct the NUMA node range checking 2014-01-23 13:19:56 +08:00
virnuma.h numa: Add wrapper of numa_node_to_cpus and use it 2013-11-04 10:50:20 +01:00
virobject.c Move dtrace probe macros into separate header file 2014-03-18 14:29:21 +00:00
virobject.h object: require maximal alignment in base class 2013-12-13 05:59:38 -07:00
virpci.c add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virpci.h add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virpidfile.c Add parameter to wait for lock in file locking APIs 2014-03-17 10:04:47 -06:00
virpidfile.h Add parameter to wait for lock in file locking APIs 2014-03-17 10:04:47 -06:00
virportallocator.c Fix build of portallocator on mingw 2014-02-20 10:16:07 +01:00
virportallocator.h Add a name to virPortAllocator 2013-11-18 12:28:02 +01:00
virprobe.h Turn virLogSource into a struct instead of an enum 2014-03-18 14:29:22 +00:00
virprocess.c virFork: simplify semantics 2014-03-03 12:40:32 -07:00
virprocess.h util: make it easier to grab only regular process exit 2014-03-03 12:40:31 -07:00
virrandom.c Remove all direct use of getenv 2013-10-21 14:03:52 +01:00
virrandom.h
virscsi.c virscsi: Introduce virSCSIDeviceUsedByInfoFree 2014-03-07 12:24:44 -05:00
virscsi.h add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virsexpr.c
virsexpr.h
virsocketaddr.c maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virsocketaddr.h maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virstatslinux.c
virstatslinux.h
virstoragefile.c storage: always probe type with buffer 2013-11-06 17:31:51 -07:00
virstoragefile.h storage: always probe type with buffer 2013-11-06 17:31:51 -07:00
virstring.c Add virStringReplace method for substring replacement 2014-02-24 10:51:22 +00:00
virstring.h Add virStringReplace method for substring replacement 2014-02-24 10:51:22 +00:00
virsysinfo.c util: eliminate hardcoded indent in virConnectSysInfo formatting 2014-03-14 00:02:42 -06:00
virsysinfo.h
virsystemd.c Check if systemd is running before creating machines 2014-03-04 09:14:52 +01:00
virsystemd.h virNetServerRun: Notify systemd that we're accepting clients 2014-02-24 10:54:48 +01:00
virthread.c Remove windows thread implementation in favour of pthreads 2014-01-30 18:00:20 +00:00
virthread.h Remove windows thread implementation in favour of pthreads 2014-01-30 18:00:20 +00:00
virthreadpool.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
virthreadpool.h
virtime.c
virtime.h
virtpm.c
virtpm.h
virtypedparam.c maint: avoid nested public calls 2014-01-04 07:13:09 -07:00
virtypedparam.h
viruri.c
viruri.h
virusb.c add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virusb.h add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virutil.c Add helper APIs to track if libvirtd or loadable modules have changed 2014-03-11 10:51:49 +00:00
virutil.h Add helper APIs to track if libvirtd or loadable modules have changed 2014-03-11 10:51:49 +00:00
viruuid.c Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
viruuid.h maint: improve debug of libvirt-{qemu,lxc} apis 2014-01-02 22:17:11 -07:00
virxml.c Fix possible memory leak in util/virxml.c 2014-01-15 11:11:34 +01:00
virxml.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00