libvirt/src/util
Wang Huaqiang 4e8b37d497 util: Fix a bug in virResctrlMonitorGetStats
The path argument of virFileIsDir should be a full name
of file, pathname and filename. Fixed it by passing the
full path name to virFileIsDir.

Signed-off-by: Wang Huaqiang <huaqiang.wang@intel.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-11-20 14:08:01 -05:00
..
iohelper.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
Makefile.inc.am util: introduce cgroup v2 files 2018-10-05 15:53:29 +02:00
viralloc.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
viralloc.h util: alloc: add macros for implementing automatic cleanup functionality 2018-07-14 17:01:30 +02:00
virarch.c util: add RISC-V architectures 2018-08-24 13:23:36 +02:00
virarch.h util: add RISC-V architectures 2018-08-24 13:23:36 +02:00
virarptable.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virarptable.h virarptable: Include rtnetlink.h only on Linux 2018-03-15 14:59:12 +01:00
viratomic.c
viratomic.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
viraudit.c internal: Move <stdio.h> include to internal.h 2018-09-20 10:16:38 +02:00
viraudit.h audit: Log only an info message if audit_level < 2 and audit is not supported 2017-12-13 13:42:16 +01:00
virauth.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virauth.h
virauthconfig.c util: authconfig: use VIR_AUTOFREE instead of VIR_FREE for scalar types 2018-07-14 17:01:30 +02:00
virauthconfig.h util: authconfig: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-14 17:01:30 +02:00
virbitmap.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virbitmap.h util: bitmap: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-14 17:01:30 +02:00
virbuffer.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virbuffer.h util: buffer: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-27 17:19:13 +02:00
vircgroup.c vircgroup: add support for hybrid configuration 2018-10-05 15:53:29 +02:00
vircgroup.h vircgroup: introduce virCgroupAddThread 2018-09-25 09:59:23 +02:00
vircgroupbackend.c vircgroup: add support for hybrid configuration 2018-10-05 15:53:29 +02:00
vircgroupbackend.h vircgroup: add support for hybrid configuration 2018-10-05 15:53:29 +02:00
vircgrouppriv.h vircgroup: add support for hybrid configuration 2018-10-05 15:53:29 +02:00
vircgroupv1.c util: Fix virCgroupGetMemoryStat 2018-11-14 14:45:02 -05:00
vircgroupv1.h vircgroup: introduce cgroup v1 backend files 2018-09-25 12:37:51 +02:00
vircgroupv2.c util: Fix virCgroupGetMemoryStat 2018-11-14 14:45:02 -05:00
vircgroupv2.h util: introduce cgroup v2 files 2018-10-05 15:53:29 +02:00
virclosecallbacks.c conf: Rework/rename virDomainObjListFindByUUIDRef 2018-04-23 06:41:45 -04:00
virclosecallbacks.h util: Alter virCloseCallback typedef to return void 2018-04-09 18:26:03 -04:00
vircommand.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
vircommand.h util: command: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-14 17:01:30 +02:00
vircommandpriv.h
virconf.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virconf.h maint: Replace tabs with spaces in all source files in repo 2017-10-18 13:25:10 +02:00
vircrypto.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
vircrypto.h vircrypto: Drop virCryptoGenerateRandom 2018-06-05 10:31:19 +02:00
virdbus.c virdbus: Use the mnemonic macros for dbus_bool_t values 2018-09-25 19:27:55 -04:00
virdbus.h
virdbuspriv.h
virdevmapper.c virDevMapperGetTargetsImpl: Be tolerant to kernels without DM support 2018-07-13 16:01:05 +02:00
virdevmapper.h util: Introduce virDevMapperGetTargets 2018-04-05 09:58:44 +02:00
virdnsmasq.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virdnsmasq.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virebtables.c
virebtables.h
virendian.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virerror.c Revert "access: Modify the VIR_ERR_ACCESS_DENIED to include driverName" 2018-11-14 14:06:43 -05:00
virerror.h util: error: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-27 17:19:06 +02:00
virevent.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virevent.h
vireventpoll.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
vireventpoll.h
virfcp.c util: fcp: use VIR_AUTOFREE instead of VIR_FREE for scalar types 2018-07-14 17:01:30 +02:00
virfcp.h
virfdstream.c src: Make virStr*cpy*() functions return an int 2018-07-23 14:27:30 +02:00
virfdstream.h
virfile.c virfile: Take symlink into account in virFileIsSharedFixFUSE 2018-10-19 13:15:54 +02:00
virfile.h internal: Move <stdio.h> include to internal.h 2018-09-20 10:16:38 +02:00
virfilecache.c Remove ignore_value or void from unlink calls 2018-09-20 13:45:56 -04:00
virfilecache.h
virfirewall.c util: firewall: use VIR_AUTOPTR for aggregate types 2018-07-27 17:21:08 +02:00
virfirewall.h util: firewall: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-27 17:21:04 +02:00
virfirewallpriv.h
virfirmware.c
virfirmware.h
virgettext.c internal: Move <stdio.h> include to internal.h 2018-09-20 10:16:38 +02:00
virgettext.h
virgic.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virgic.h
virhash.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virhash.h src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virhashcode.c
virhashcode.h
virhook.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virhook.h Replace QEmu with QEMU 2018-04-01 17:42:29 +02:00
virhostcpu.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virhostcpu.h util: introduce virHostCPUGetMicrocodeVersion 2018-01-04 16:52:03 +01:00
virhostcpupriv.h
virhostdev.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virhostdev.h util: virhostdev: add virHostdevIsMdevDevice() 2018-05-14 12:12:06 -04:00
virhostmem.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virhostmem.h
viridentity.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
viridentity.h
virinitctl.c
virinitctl.h
viriptables.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
viriptables.h
viriscsi.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
viriscsi.h virISCSIScanTargets: Allow making targets persistent 2018-07-25 07:11:13 +02:00
virjson.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virjson.h Revert "Remove virJSONValueNewStringLen" 2018-08-13 15:50:01 +02:00
virkeycode.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virkeycode.h
virkeyfile.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virkeyfile.h
virkmod.c util: kmod: use VIR_AUTOPTR for aggregate types 2018-07-27 17:21:25 +02:00
virkmod.h
virlease.c util: lease: use VIR_AUTOPTR for aggregate types 2018-07-27 17:21:25 +02:00
virlease.h
virlockspace.c Revert "virlockspace: Allow caller to specify start and length offset in virLockSpaceAcquireResource" 2018-11-16 13:42:39 +01:00
virlockspace.h Revert "virlockspace: Allow caller to specify start and length offset in virLockSpaceAcquireResource" 2018-11-16 13:42:39 +01:00
virlog.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virlog.h log: rename virLogFlags to virLogFilterFlags to match docs 2018-05-11 17:06:55 +01:00
virmacaddr.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virmacaddr.h util: macaddr: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-08-07 16:29:55 +02:00
virmacmap.c util: Rework virStringListAdd 2018-07-27 15:47:45 +02:00
virmacmap.h
virmdev.c qemu: vfio-ap device support 2018-10-29 12:45:54 -04:00
virmdev.h qemu: vfio-ap device support 2018-10-29 12:45:54 -04:00
virmodule.c virmodule: Fix virModuleLoad stub 2018-07-15 12:09:09 +02:00
virmodule.h util: create new virmodule.{c,h} files for dlopen support code 2018-05-03 12:47:43 +01:00
virnetdev.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virnetdev.h util: netdev: Define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-08-07 16:29:55 +02:00
virnetdevbandwidth.c QoS: Set classes and filters in proper direction 2017-10-05 09:16:05 +02:00
virnetdevbandwidth.h QoS: Set classes and filters in proper direction 2017-10-05 09:16:05 +02:00
virnetdevbridge.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virnetdevbridge.h
virnetdevip.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virnetdevip.h util: netdevip: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-08-07 16:29:55 +02:00
virnetdevmacvlan.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virnetdevmacvlan.h
virnetdevmidonet.c
virnetdevmidonet.h
virnetdevopenvswitch.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virnetdevopenvswitch.h util: new function virNetDevOpenvswitchInterfaceGetMaster() 2018-07-02 18:06:53 -04:00
virnetdevtap.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virnetdevtap.h util: Remove ATTRIBUTE_NONNULL from virNetDevTapInterfaceStats 2018-07-16 06:57:25 -04:00
virnetdevveth.c util: netdevveth: use VIR_AUTOPTR for aggregate types 2018-08-07 16:29:55 +02:00
virnetdevveth.h
virnetdevvlan.c util: netdevvlan: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-27 17:21:25 +02:00
virnetdevvlan.h util: netdevvlan: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-27 17:21:25 +02:00
virnetdevvportprofile.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virnetdevvportprofile.h util: handle missing switch enum cases 2018-02-21 16:53:44 +00:00
virnetlink.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virnetlink.h util: netlink: Add some wrapper macros to get rid of redundancy 2018-09-12 09:27:26 +02:00
virnodesuspend.c
virnodesuspend.h
virnuma.c util: numa: use VIR_AUTOPTR for aggregate types 2018-08-07 16:29:56 +02:00
virnuma.h util: Fix typo vcups -> vcpus 2018-10-22 14:37:54 +01:00
virobject.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virobject.h virobject: Check if @parent is the first member in class 2018-04-18 10:04:55 +02:00
virpci.c util: Fix virpci compilation on non-Linux 2018-11-15 15:57:18 +01:00
virpci.h conf: Introduce parser, formatter for uid and fid 2018-11-15 12:32:18 +01:00
virperf.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virperf.h util: perf: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-08-07 16:29:56 +02:00
virpidfile.c util: pidfile: use VIR_AUTOFREE instead of VIR_FREE for scalar types 2018-08-07 16:29:56 +02:00
virpidfile.h
virpolkit.c Merge WITH_POLKIT1 and WITH_POLKIT 2018-03-14 12:46:26 +01:00
virpolkit.h
virportallocator.c virtportallocator: Change number of ports to 65536 2018-06-14 09:52:21 +02:00
virportallocator.h port allocator: make port range constant object 2018-02-22 13:52:45 +01:00
virprobe.h util: probe: Add quiet versions of the "PROBE" macro 2018-01-03 15:21:06 +01:00
virprocess.c virprocess: Make virProcessRunInMountNamespace use virProcessRunInFork 2018-11-16 13:42:38 +01:00
virprocess.h virprocess: Introduce virProcessRunInFork 2018-11-16 13:42:38 +01:00
virqemu.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virqemu.h qemu: Delete old unused code for adding objects to qemu 2018-06-05 08:13:59 +02:00
virrandom.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virrandom.h
virresctrl.c util: Fix a bug in virResctrlMonitorGetStats 2018-11-20 14:08:01 -05:00
virresctrl.h util: Add more interfaces for resctrl monitor 2018-11-14 12:18:46 -05:00
virresctrlpriv.h resctrl: Add functions to work with resctrl allocations 2018-01-25 17:16:08 +01:00
virrotatingfile.c Drop \n at the end of VIR_DEBUG messages 2018-09-19 14:05:59 +02:00
virrotatingfile.h
virscsi.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virscsi.h util: scsi: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-27 17:21:19 +02:00
virscsihost.c
virscsihost.h
virscsivhost.c util: clang is failing to compile due to unused variables. 2018-07-27 20:46:20 -04:00
virscsivhost.h util: scsivhost: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-27 17:21:25 +02:00
virseclabel.c
virseclabel.h
virsecret.c util: Move virSecretUsageType to virsecret.h 2017-09-21 15:46:48 -04:00
virsecret.h util: Move virSecretUsageType to virsecret.h 2017-09-21 15:46:48 -04:00
virsexpr.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virsexpr.h
virsocketaddr.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virsocketaddr.h util: socketaddr: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-08-07 16:29:55 +02:00
virstorageencryption.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virstorageencryption.h util: storage: Sanitize parsing of disk encryption XMLs 2018-03-08 14:29:50 +01:00
virstoragefile.c util: storage: Properly parse URIs with missing trailing slash 2018-10-12 16:41:48 +02:00
virstoragefile.h conf: introduce initiator IQN support for domain disks 2018-08-08 17:33:12 +02:00
virstoragefilebackend.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virstoragefilebackend.h storage: create separate loadable modules for storage file drivers 2018-05-03 13:17:59 +01:00
virstring.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virstring.h util: Rework virStringListAdd 2018-07-27 15:47:45 +02:00
virsysinfo.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virsysinfo.h conf: Add support for setting Chassis SMBIOS data fields 2018-02-17 07:36:46 -05:00
virsysinfopriv.h
virsystemd.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virsystemd.h
virsystemdpriv.h
virthread.c util: gettid() is Linux-specific 2017-12-05 11:28:19 +01:00
virthread.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virthreadjob.c
virthreadjob.h
virthreadpool.c virThreadPool: Prevent switching between zero and non-zero maxWorkers 2018-07-21 07:46:45 -04:00
virthreadpool.h
virtime.c internal: Move <stdio.h> include to internal.h 2018-09-20 10:16:38 +02:00
virtime.h
virtpm.c tpm: Use /dev/null for cancel path if none was found 2017-09-07 14:00:46 +02:00
virtpm.h
virtypedparam.c virTypedParamsDeserialize: set nparams to 0 in case of an error 2018-07-23 14:28:58 -04:00
virtypedparam.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
viruri.c util: fix handling of unspecified port in URI 2018-11-14 17:09:41 +00:00
viruri.h
virusb.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virusb.h util: usb: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC 2018-07-27 17:21:15 +02:00
virutil.c util: Fix virDoes*Exist return type 2018-11-20 09:32:12 +01:00
virutil.h util: Fix virDoes*Exist return type 2018-11-20 09:32:12 +01:00
viruuid.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
viruuid.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virvhba.c
virvhba.h
virvsock.c util: create virvsock.c 2018-05-29 15:42:03 +02:00
virvsock.h util: create virvsock.c 2018-05-29 15:42:03 +02:00
virxdrdefs.h
virxml.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virxml.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00