mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
virutil: Move string related functions to virstring.c
The source code base needs to be adapted as well. Some files include virutil.h just for the string related functions (here, the include is substituted to match the new file), some include virutil.h without any need (here, the include is removed), and some require both.
This commit is contained in:
parent
297c99a567
commit
7c9a2d88cd
4
cfg.mk
4
cfg.mk
@ -858,7 +858,7 @@ exclude_file_name_regexp--sc_prohibit_always_true_header_tests = \
|
||||
^python/(libvirt-(lxc-|qemu-)?override|typewrappers)\.c$$
|
||||
|
||||
exclude_file_name_regexp--sc_prohibit_asprintf = \
|
||||
^(bootstrap.conf$$|src/util/virutil\.c$$|examples/domain-events/events-c/event-test\.c$$|tests/vircgroupmock\.c$$)
|
||||
^(bootstrap.conf$$|src/util/virstring\.c$$|examples/domain-events/events-c/event-test\.c$$|tests/vircgroupmock\.c$$)
|
||||
|
||||
exclude_file_name_regexp--sc_prohibit_close = \
|
||||
(\.p[yl]$$|^docs/|^(src/util/virfile\.c|src/libvirt\.c|tests/vircgroupmock\.c)$$)
|
||||
@ -892,7 +892,7 @@ exclude_file_name_regexp--sc_prohibit_setuid = ^src/util/virutil\.c$$
|
||||
exclude_file_name_regexp--sc_prohibit_sprintf = \
|
||||
^(docs/hacking\.html\.in)|(examples/systemtap/.*stp)|(src/dtrace2systemtap\.pl)|(src/rpc/gensystemtap\.pl)$$
|
||||
|
||||
exclude_file_name_regexp--sc_prohibit_strncpy = ^src/util/virutil\.c$$
|
||||
exclude_file_name_regexp--sc_prohibit_strncpy = ^src/util/virstring\.c$$
|
||||
|
||||
exclude_file_name_regexp--sc_prohibit_strtol = \
|
||||
^src/(util/virsexpr|(vbox|xen|xenxs)/.*)\.c$$
|
||||
|
@ -32,6 +32,8 @@
|
||||
#include "configmake.h"
|
||||
#include "remote/remote_protocol.h"
|
||||
#include "remote/remote_driver.h"
|
||||
#include "virstring.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_CONF
|
||||
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "libvirtd.h"
|
||||
#include "libvirtd-config.h"
|
||||
|
||||
#include "virutil.h"
|
||||
#include "viruuid.h"
|
||||
#include "remote_driver.h"
|
||||
#include "viralloc.h"
|
||||
@ -54,6 +53,7 @@
|
||||
#include "virhook.h"
|
||||
#include "viraudit.h"
|
||||
#include "locking/lock_manager.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#ifdef WITH_DRIVER_MODULES
|
||||
# include "driver.h"
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "datatypes.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "virutil.h"
|
||||
#include "stream.h"
|
||||
#include "viruuid.h"
|
||||
#include "vircommand.h"
|
||||
@ -49,7 +48,7 @@
|
||||
#include "remote_protocol.h"
|
||||
#include "qemu_protocol.h"
|
||||
#include "lxc_protocol.h"
|
||||
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_RPC
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "virtypedparam.h"
|
||||
#include "ignore-value.h"
|
||||
#include "virutil.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#ifndef __CYGWIN__
|
||||
extern void initlibvirtmod(void);
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "capabilities.h"
|
||||
#include "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "viruuid.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "virerror.h"
|
||||
|
@ -25,10 +25,10 @@
|
||||
|
||||
#include "virerror.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "virbuffer.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "domain_conf.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_CPU
|
||||
|
||||
|
@ -26,9 +26,9 @@
|
||||
#include "viralloc.h"
|
||||
#include "virxml.h"
|
||||
#include "viruuid.h"
|
||||
#include "virutil.h"
|
||||
#include "virbuffer.h"
|
||||
#include "device_conf.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_DEVICE
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "viruuid.h"
|
||||
#include "virlog.h"
|
||||
#include "viralloc.h"
|
||||
#include "virstring.h"
|
||||
|
||||
/* Return nn:mm in hex for block and character devices, and NULL
|
||||
* for other file types, stat failure, or allocation failure. */
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "verify.h"
|
||||
#include "virxml.h"
|
||||
#include "viruuid.h"
|
||||
#include "virutil.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virlog.h"
|
||||
#include "nwfilter_conf.h"
|
||||
@ -52,6 +51,7 @@
|
||||
#include "netdev_vlan_conf.h"
|
||||
#include "device_conf.h"
|
||||
#include "virtpm.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_DOMAIN
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
# include "capabilities.h"
|
||||
# include "storage_encryption_conf.h"
|
||||
# include "cpu_conf.h"
|
||||
# include "virutil.h"
|
||||
# include "virthread.h"
|
||||
# include "virhash.h"
|
||||
# include "virsocketaddr.h"
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "viralloc.h"
|
||||
#include "virxml.h"
|
||||
#include "viruuid.h"
|
||||
#include "virutil.h"
|
||||
#include "virbuffer.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_INTERFACE
|
||||
|
@ -24,9 +24,9 @@
|
||||
|
||||
#include "netdev_bandwidth_conf.h"
|
||||
#include "virerror.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "domain_conf.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "netdev_vport_profile_conf.h"
|
||||
#include "virerror.h"
|
||||
#include "viralloc.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
|
@ -40,10 +40,10 @@
|
||||
#include "viralloc.h"
|
||||
#include "virxml.h"
|
||||
#include "viruuid.h"
|
||||
#include "virutil.h"
|
||||
#include "virbuffer.h"
|
||||
#include "c-ctype.h"
|
||||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define MAX_BRIDGE_ID 256
|
||||
#define VIR_FROM_THIS VIR_FROM_NETWORK
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
#include "node_device_conf.h"
|
||||
#include "virxml.h"
|
||||
#include "virutil.h"
|
||||
#include "virbuffer.h"
|
||||
#include "viruuid.h"
|
||||
#include "virrandom.h"
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include "domain_conf.h"
|
||||
#include "c-ctype.h"
|
||||
#include "virfile.h"
|
||||
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NWFILTER
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
# include "internal.h"
|
||||
|
||||
# include "virutil.h"
|
||||
# include "virhash.h"
|
||||
# include "virxml.h"
|
||||
# include "virbuffer.h"
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "nwfilter_params.h"
|
||||
#include "domain_conf.h"
|
||||
#include "virlog.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NWFILTER
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "viralloc.h"
|
||||
#include "secret_conf.h"
|
||||
#include "virerror.h"
|
||||
#include "virutil.h"
|
||||
#include "virxml.h"
|
||||
#include "viruuid.h"
|
||||
|
||||
|
@ -42,11 +42,11 @@
|
||||
#include "secret_conf.h"
|
||||
#include "snapshot_conf.h"
|
||||
#include "virstoragefile.h"
|
||||
#include "virutil.h"
|
||||
#include "viruuid.h"
|
||||
#include "virfile.h"
|
||||
#include "virerror.h"
|
||||
#include "virxml.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_DOMAIN_SNAPSHOT
|
||||
|
||||
|
@ -41,9 +41,9 @@
|
||||
#include "virxml.h"
|
||||
#include "viruuid.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_STORAGE
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
# define __VIR_STORAGE_CONF_H__
|
||||
|
||||
# include "internal.h"
|
||||
# include "virutil.h"
|
||||
# include "storage_encryption_conf.h"
|
||||
# include "virthread.h"
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "viralloc.h"
|
||||
#include "storage_conf.h"
|
||||
#include "storage_encryption_conf.h"
|
||||
#include "virutil.h"
|
||||
#include "virxml.h"
|
||||
#include "virerror.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "virlog.h"
|
||||
#include "virerror.h"
|
||||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "virlog.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#include "cpu_map.h"
|
||||
|
@ -27,13 +27,12 @@
|
||||
|
||||
#include "virlog.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "cpu.h"
|
||||
#include "cpu_map.h"
|
||||
#include "cpu_x86.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virendian.h"
|
||||
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_CPU
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "virlog.h"
|
||||
#include "viralloc.h"
|
||||
#include "viruuid.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
|
@ -27,8 +27,8 @@
|
||||
#include "driver.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "virutil.h"
|
||||
#include "configmake.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/connection-driver"
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "domain_conf.h"
|
||||
#include "snapshot_conf.h"
|
||||
#include "virauth.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
@ -46,6 +45,7 @@
|
||||
#include "esx_vi_methods.h"
|
||||
#include "esx_util.h"
|
||||
#include "viruri.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_ESX
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include "md5.h"
|
||||
#include "internal.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "internal.h"
|
||||
#include "md5.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
|
||||
#include "internal.h"
|
||||
#include "md5.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
@ -42,6 +41,7 @@
|
||||
#include "esx_vi.h"
|
||||
#include "esx_vi_methods.h"
|
||||
#include "esx_util.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_ESX
|
||||
|
||||
|
@ -28,13 +28,13 @@
|
||||
|
||||
#include "internal.h"
|
||||
#include "datatypes.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
#include "vmx.h"
|
||||
#include "esx_private.h"
|
||||
#include "esx_util.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_ESX
|
||||
|
||||
|
@ -29,13 +29,13 @@
|
||||
#include "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "virutil.h"
|
||||
#include "viruuid.h"
|
||||
#include "vmx.h"
|
||||
#include "virxml.h"
|
||||
#include "esx_vi.h"
|
||||
#include "esx_vi_methods.h"
|
||||
#include "esx_util.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_ESX
|
||||
|
||||
|
@ -31,9 +31,9 @@
|
||||
#include "datatypes.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "virutil.h"
|
||||
#include "esx_vi.h"
|
||||
#include "esx_vi_types.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_ESX
|
||||
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "virutil.h"
|
||||
#include "virfile.h"
|
||||
#include "configmake.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_STREAMS
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "datatypes.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "datatypes.h"
|
||||
#include "domain_conf.h"
|
||||
#include "virauth.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
@ -42,6 +41,7 @@
|
||||
#include "hyperv_util.h"
|
||||
#include "hyperv_wmi.h"
|
||||
#include "openwsman.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_HYPERV
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "datatypes.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "datatypes.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "datatypes.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "datatypes.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "datatypes.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "internal.h"
|
||||
#include "datatypes.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -29,11 +29,11 @@
|
||||
#include "datatypes.h"
|
||||
#include "virlog.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "viruuid.h"
|
||||
#include "virbuffer.h"
|
||||
#include "hyperv_private.h"
|
||||
#include "hyperv_wmi.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define WS_SERIALIZER_FREE_MEM_WORKS 0
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "interface_driver.h"
|
||||
#include "interface_conf.h"
|
||||
#include "viralloc.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_INTERFACE
|
||||
|
||||
|
@ -62,6 +62,7 @@
|
||||
#include "virrandom.h"
|
||||
#include "viruri.h"
|
||||
#include "virthread.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#ifdef WITH_TEST
|
||||
# include "test/test_driver.h"
|
||||
|
@ -1745,10 +1745,26 @@ virStorageFileResize;
|
||||
|
||||
|
||||
# util/virstring.h
|
||||
virArgvToString;
|
||||
virAsprintf;
|
||||
virSkipSpaces;
|
||||
virSkipSpacesAndBackslash;
|
||||
virSkipSpacesBackwards;
|
||||
virStrcpy;
|
||||
virStringArrayHasString;
|
||||
virStringFreeList;
|
||||
virStringJoin;
|
||||
virStringSplit;
|
||||
virStrncpy;
|
||||
virStrToDouble;
|
||||
virStrToLong_i;
|
||||
virStrToLong_l;
|
||||
virStrToLong_ll;
|
||||
virStrToLong_ui;
|
||||
virStrToLong_ul;
|
||||
virStrToLong_ull;
|
||||
virTrimSpaces;
|
||||
virVasprintf;
|
||||
|
||||
|
||||
# util/virsysinfo.h
|
||||
@ -1845,8 +1861,6 @@ virUSBDeviceSetUsedBy;
|
||||
saferead;
|
||||
safewrite;
|
||||
safezero;
|
||||
virArgvToString;
|
||||
virAsprintf;
|
||||
virBuildPathInternal;
|
||||
virCompareLimitUlong;
|
||||
virDirCreate;
|
||||
@ -1914,22 +1928,8 @@ virSetInherit;
|
||||
virSetNonBlock;
|
||||
virSetUIDGID;
|
||||
virSetUIDGIDWithCaps;
|
||||
virSkipSpaces;
|
||||
virSkipSpacesAndBackslash;
|
||||
virSkipSpacesBackwards;
|
||||
virStrcpy;
|
||||
virStrIsPrint;
|
||||
virStrncpy;
|
||||
virStrToDouble;
|
||||
virStrToLong_i;
|
||||
virStrToLong_l;
|
||||
virStrToLong_ll;
|
||||
virStrToLong_ui;
|
||||
virStrToLong_ul;
|
||||
virStrToLong_ull;
|
||||
virTrimSpaces;
|
||||
virValidateWWN;
|
||||
virVasprintf;
|
||||
|
||||
|
||||
# util/viruuid.h
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include "xen_xm.h"
|
||||
#include "virtypedparam.h"
|
||||
#include "viruri.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LIBXL
|
||||
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include "virrandom.h"
|
||||
#include "virhash.h"
|
||||
#include "viruuid.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#include "locking/lock_daemon_dispatch.h"
|
||||
#include "locking/lock_protocol.h"
|
||||
|
@ -30,6 +30,8 @@
|
||||
#include "virlog.h"
|
||||
#include "rpc/virnetserver.h"
|
||||
#include "configmake.h"
|
||||
#include "virstring.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_CONF
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "rpc/virnetserver.h"
|
||||
#include "rpc/virnetserverclient.h"
|
||||
#include "virutil.h"
|
||||
#include "virlog.h"
|
||||
|
||||
#include "lock_daemon.h"
|
||||
|
@ -26,13 +26,13 @@
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "viruuid.h"
|
||||
#include "virutil.h"
|
||||
#include "virfile.h"
|
||||
#include "virerror.h"
|
||||
#include "rpc/virnetclient.h"
|
||||
#include "lock_protocol.h"
|
||||
#include "configmake.h"
|
||||
#include "sha256.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LOCKING
|
||||
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "virlog.h"
|
||||
#include "virerror.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "virfile.h"
|
||||
#include "md5.h"
|
||||
#include "virconf.h"
|
||||
|
@ -25,9 +25,9 @@
|
||||
#include "lock_driver_nop.h"
|
||||
#include "virerror.h"
|
||||
#include "virlog.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "viruuid.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
# include <dlfcn.h>
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "virlog.h"
|
||||
#include "viralloc.h"
|
||||
#include "vircgroup.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||
|
||||
|
@ -55,7 +55,6 @@
|
||||
#include "virerror.h"
|
||||
#include "virlog.h"
|
||||
#include "lxc_container.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "virnetdevveth.h"
|
||||
#include "viruuid.h"
|
||||
@ -64,6 +63,7 @@
|
||||
#include "vircommand.h"
|
||||
#include "virnetdev.h"
|
||||
#include "virprocess.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||
|
||||
|
@ -48,7 +48,6 @@
|
||||
|
||||
#include "virerror.h"
|
||||
#include "virlog.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#include "lxc_conf.h"
|
||||
#include "lxc_container.h"
|
||||
@ -66,6 +65,7 @@
|
||||
#include "virprocess.h"
|
||||
#include "virnuma.h"
|
||||
#include "rpc/virnetserver.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||
|
||||
|
@ -46,7 +46,6 @@
|
||||
#include "lxc_driver.h"
|
||||
#include "lxc_process.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "virnetdevbridge.h"
|
||||
#include "virnetdevveth.h"
|
||||
#include "nodeinfo.h"
|
||||
@ -68,6 +67,7 @@
|
||||
#include "virtime.h"
|
||||
#include "virtypedparam.h"
|
||||
#include "viruri.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include "virlog.h"
|
||||
#include "virfile.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
# endif
|
||||
|
||||
# include "lxc_conf.h"
|
||||
# include "virutil.h"
|
||||
# include "viralloc.h"
|
||||
|
||||
struct virLXCMeminfo {
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "virlog.h"
|
||||
#include "virthread.h"
|
||||
#include "rpc/virnetclient.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include "vircommand.h"
|
||||
#include "lxc_hostdev.h"
|
||||
#include "virhook.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||
|
||||
|
@ -51,7 +51,6 @@
|
||||
#include "driver.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virpidfile.h"
|
||||
#include "virutil.h"
|
||||
#include "vircommand.h"
|
||||
#include "viralloc.h"
|
||||
#include "viruuid.h"
|
||||
@ -66,6 +65,7 @@
|
||||
#include "virnetdevvportprofile.h"
|
||||
#include "virdbus.h"
|
||||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define NETWORK_PID_DIR LOCALSTATEDIR "/run/libvirt/network"
|
||||
#define NETWORK_STATE_DIR LOCALSTATEDIR "/lib/libvirt/network"
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "node_device_conf.h"
|
||||
#include "node_device_hal.h"
|
||||
#include "node_device_driver.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NODEDEV
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NODEDEV
|
||||
|
||||
|
@ -36,9 +36,9 @@
|
||||
#include "virlog.h"
|
||||
#include "viralloc.h"
|
||||
#include "viruuid.h"
|
||||
#include "virutil.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virpci.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NODEDEV
|
||||
|
||||
|
@ -47,7 +47,6 @@
|
||||
#include "viralloc.h"
|
||||
#include "nodeinfo.h"
|
||||
#include "physmem.h"
|
||||
#include "virutil.h"
|
||||
#include "virlog.h"
|
||||
#include "virerror.h"
|
||||
#include "count-one-bits.h"
|
||||
@ -55,7 +54,7 @@
|
||||
#include "virarch.h"
|
||||
#include "virfile.h"
|
||||
#include "virtypedparam.h"
|
||||
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
|
@ -68,6 +68,7 @@
|
||||
#include "virthreadpool.h"
|
||||
#include "configmake.h"
|
||||
#include "virtime.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NWFILTER
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include "nwfilter_driver.h"
|
||||
#include "nwfilter_gentech_driver.h"
|
||||
#include "configmake.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#include "nwfilter_ipaddrmap.h"
|
||||
#include "nwfilter_dhcpsnoop.h"
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "vircommand.h"
|
||||
#include "configmake.h"
|
||||
#include "intprops.h"
|
||||
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NWFILTER
|
||||
|
||||
|
@ -54,6 +54,7 @@
|
||||
#include "nwfilter_ebiptables_driver.h"
|
||||
#include "nwfilter_ipaddrmap.h"
|
||||
#include "nwfilter_learnipaddr.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NWFILTER
|
||||
|
||||
|
@ -47,10 +47,10 @@
|
||||
#include "viruuid.h"
|
||||
#include "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "nodeinfo.h"
|
||||
#include "virfile.h"
|
||||
#include "vircommand.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_OPENVZ
|
||||
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include "openvz_driver.h"
|
||||
#include "openvz_util.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virutil.h"
|
||||
#include "openvz_conf.h"
|
||||
#include "nodeinfo.h"
|
||||
#include "viralloc.h"
|
||||
@ -58,6 +57,7 @@
|
||||
#include "vircommand.h"
|
||||
#include "viruri.h"
|
||||
#include "virstatslinux.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_OPENVZ
|
||||
|
||||
|
@ -42,13 +42,13 @@
|
||||
#include "datatypes.h"
|
||||
#include "virerror.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "virlog.h"
|
||||
#include "vircommand.h"
|
||||
#include "configmake.h"
|
||||
#include "virstoragefile.h"
|
||||
#include "nodeinfo.h"
|
||||
#include "c-ctype.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#include "parallels_driver.h"
|
||||
#include "parallels_utils.h"
|
||||
|
@ -28,8 +28,8 @@
|
||||
#include "viralloc.h"
|
||||
#include "virerror.h"
|
||||
#include "md5.h"
|
||||
|
||||
#include "parallels_utils.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_PARALLELS
|
||||
#define PARALLELS_ROUTED_NETWORK_UUID "eb593dd1-6846-45b0-84a0-de0729286982"
|
||||
|
@ -36,8 +36,8 @@
|
||||
#include "configmake.h"
|
||||
#include "virstoragefile.h"
|
||||
#include "virerror.h"
|
||||
|
||||
#include "parallels_utils.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_PARALLELS
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
||||
#include "virerror.h"
|
||||
#include "viralloc.h"
|
||||
#include "virjson.h"
|
||||
|
||||
#include "parallels_utils.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_PARALLELS
|
||||
|
||||
|
@ -43,7 +43,6 @@
|
||||
|
||||
#include "internal.h"
|
||||
#include "virauth.h"
|
||||
#include "virutil.h"
|
||||
#include "datatypes.h"
|
||||
#include "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
@ -56,8 +55,8 @@
|
||||
#include "nodeinfo.h"
|
||||
#include "virfile.h"
|
||||
#include "interface_conf.h"
|
||||
|
||||
#include "phyp_driver.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_PHYP
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include "virprocess.h"
|
||||
#include "virtime.h"
|
||||
#include "virobject.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_QEMU
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "virebtables.h"
|
||||
#include "qemu_conf.h"
|
||||
#include "qemu_driver.h"
|
||||
#include "virutil.h"
|
||||
#include "virerror.h"
|
||||
#include "virlog.h"
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "viralloc.h"
|
||||
#include "virlog.h"
|
||||
#include "virerror.h"
|
||||
#include "virutil.h"
|
||||
#include "virfile.h"
|
||||
#include "virpidfile.h"
|
||||
#include "virprocess.h"
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "virlog.h"
|
||||
#include "viralloc.h"
|
||||
#include "virerror.h"
|
||||
#include "virutil.h"
|
||||
#include "domain_audit.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_QEMU
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "virlog.h"
|
||||
#include "virarch.h"
|
||||
#include "virerror.h"
|
||||
#include "virutil.h"
|
||||
#include "virfile.h"
|
||||
#include "virnetdev.h"
|
||||
#include "virstring.h"
|
||||
|
@ -42,7 +42,6 @@
|
||||
#include "viruuid.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virconf.h"
|
||||
#include "virutil.h"
|
||||
#include "viralloc.h"
|
||||
#include "datatypes.h"
|
||||
#include "virxml.h"
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "domain_event.h"
|
||||
#include "virtime.h"
|
||||
#include "virstoragefile.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <fcntl.h>
|
||||
|
@ -61,7 +61,6 @@
|
||||
#include "virlog.h"
|
||||
#include "datatypes.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virutil.h"
|
||||
#include "nodeinfo.h"
|
||||
#include "virstatslinux.h"
|
||||
#include "capabilities.h"
|
||||
@ -92,6 +91,7 @@
|
||||
#include "virtime.h"
|
||||
#include "virtypedparam.h"
|
||||
#include "virbitmap.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_QEMU
|
||||
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include "virnetdevtap.h"
|
||||
#include "device_conf.h"
|
||||
#include "virstoragefile.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_QEMU
|
||||
#define CHANGE_MEDIA_RETRIES 10
|
||||
|
@ -44,7 +44,6 @@
|
||||
#include "virlog.h"
|
||||
#include "virerror.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "virfile.h"
|
||||
#include "datatypes.h"
|
||||
#include "fdstream.h"
|
||||
@ -55,7 +54,7 @@
|
||||
#include "virstoragefile.h"
|
||||
#include "viruri.h"
|
||||
#include "virhook.h"
|
||||
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_QEMU
|
||||
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "virfile.h"
|
||||
#include "virprocess.h"
|
||||
#include "virobject.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#ifdef WITH_DTRACE_PROBES
|
||||
# include "libvirt_qemu_probes.h"
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "datatypes.h"
|
||||
#include "virerror.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#ifdef WITH_DTRACE_PROBES
|
||||
# include "libvirt_qemu_probes.h"
|
||||
|
@ -50,7 +50,6 @@
|
||||
#include "virhook.h"
|
||||
#include "virfile.h"
|
||||
#include "virpidfile.h"
|
||||
#include "virutil.h"
|
||||
#include "c-ctype.h"
|
||||
#include "nodeinfo.h"
|
||||
#include "domain_audit.h"
|
||||
@ -64,6 +63,7 @@
|
||||
#include "virbitmap.h"
|
||||
#include "viratomic.h"
|
||||
#include "virnuma.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_QEMU
|
||||
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "lxc_protocol.h"
|
||||
#include "qemu_protocol.h"
|
||||
#include "viralloc.h"
|
||||
#include "virutil.h"
|
||||
#include "virfile.h"
|
||||
#include "vircommand.h"
|
||||
#include "intprops.h"
|
||||
@ -48,6 +47,7 @@
|
||||
#include "viruri.h"
|
||||
#include "virauth.h"
|
||||
#include "virauthconfig.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_REMOTE
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "virthread.h"
|
||||
#include "virfile.h"
|
||||
#include "virlog.h"
|
||||
#include "virutil.h"
|
||||
#include "virerror.h"
|
||||
#include "virnetsocket.h"
|
||||
#include "virkeepaliveprotocol.h"
|
||||
|
@ -34,6 +34,8 @@
|
||||
#include "viralloc.h"
|
||||
#include "virthread.h"
|
||||
#include "virkeepalive.h"
|
||||
#include "virstring.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_RPC
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user