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:
Michal Privoznik 2013-04-03 12:36:23 +02:00
parent 297c99a567
commit 7c9a2d88cd
242 changed files with 590 additions and 557 deletions

4
cfg.mk
View File

@ -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$$

View File

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

View File

@ -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"

View File

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

View File

@ -28,6 +28,7 @@
#include "virtypedparam.h"
#include "ignore-value.h"
#include "virutil.h"
#include "virstring.h"
#ifndef __CYGWIN__
extern void initlibvirtmod(void);

View File

@ -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"

View File

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

View File

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

View File

@ -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. */

View File

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

View File

@ -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"

View File

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

View File

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

View File

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

View File

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

View File

@ -32,7 +32,6 @@
#include "node_device_conf.h"
#include "virxml.h"
#include "virutil.h"
#include "virbuffer.h"
#include "viruuid.h"
#include "virrandom.h"

View File

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

View File

@ -28,7 +28,6 @@
# include "internal.h"
# include "virutil.h"
# include "virhash.h"
# include "virxml.h"
# include "virbuffer.h"

View File

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

View File

@ -29,7 +29,6 @@
#include "viralloc.h"
#include "secret_conf.h"
#include "virerror.h"
#include "virutil.h"
#include "virxml.h"
#include "viruuid.h"

View File

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

View File

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

View File

@ -25,7 +25,6 @@
# define __VIR_STORAGE_CONF_H__
# include "internal.h"
# include "virutil.h"
# include "storage_encryption_conf.h"
# include "virthread.h"

View File

@ -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"

View File

@ -37,6 +37,7 @@
#include "virlog.h"
#include "virerror.h"
#include "virfile.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_NONE

View File

@ -28,7 +28,6 @@
#include "virlog.h"
#include "viralloc.h"
#include "virutil.h"
#include "cpu.h"
#include "cpu_map.h"

View File

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

View File

@ -27,7 +27,6 @@
#include "virlog.h"
#include "viralloc.h"
#include "viruuid.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_NONE

View File

@ -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"

View File

@ -25,7 +25,6 @@
#include <config.h>
#include "internal.h"
#include "virutil.h"
#include "viralloc.h"
#include "virlog.h"
#include "viruuid.h"

View File

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

View File

@ -25,7 +25,6 @@
#include <config.h>
#include "internal.h"
#include "virutil.h"
#include "viralloc.h"
#include "virlog.h"
#include "viruuid.h"

View File

@ -26,7 +26,6 @@
#include "md5.h"
#include "internal.h"
#include "virutil.h"
#include "viralloc.h"
#include "virlog.h"
#include "viruuid.h"

View File

@ -25,7 +25,6 @@
#include <config.h>
#include "internal.h"
#include "virutil.h"
#include "viralloc.h"
#include "virlog.h"
#include "viruuid.h"

View File

@ -24,7 +24,6 @@
#include <config.h>
#include "internal.h"
#include "virutil.h"
#include "viralloc.h"
#include "virlog.h"
#include "viruuid.h"

View File

@ -28,7 +28,6 @@
#include "internal.h"
#include "md5.h"
#include "virutil.h"
#include "viralloc.h"
#include "virlog.h"
#include "viruuid.h"

View File

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

View File

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

View File

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

View File

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

View File

@ -40,6 +40,7 @@
#include "virutil.h"
#include "virfile.h"
#include "configmake.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_STREAMS

View File

@ -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"

View File

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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -24,7 +24,6 @@
#include "internal.h"
#include "datatypes.h"
#include "virutil.h"
#include "viralloc.h"
#include "virlog.h"
#include "viruuid.h"

View File

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

View File

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

View File

@ -62,6 +62,7 @@
#include "virrandom.h"
#include "viruri.h"
#include "virthread.h"
#include "virstring.h"
#ifdef WITH_TEST
# include "test/test_driver.h"

View File

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

View File

@ -44,6 +44,7 @@
#include "xen_xm.h"
#include "virtypedparam.h"
#include "viruri.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_LIBXL

View File

@ -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"

View File

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

View File

@ -24,7 +24,6 @@
#include "rpc/virnetserver.h"
#include "rpc/virnetserverclient.h"
#include "virutil.h"
#include "virlog.h"
#include "lock_daemon.h"

View File

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

View File

@ -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"

View File

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

View File

@ -28,6 +28,7 @@
#include "virlog.h"
#include "viralloc.h"
#include "vircgroup.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_LXC

View File

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

View File

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

View File

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

View File

@ -35,6 +35,7 @@
#include "virlog.h"
#include "virfile.h"
#include "virbuffer.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_LXC

View File

@ -32,7 +32,6 @@
# endif
# include "lxc_conf.h"
# include "virutil.h"
# include "viralloc.h"
struct virLXCMeminfo {

View File

@ -30,6 +30,7 @@
#include "virlog.h"
#include "virthread.h"
#include "rpc/virnetclient.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_LXC

View File

@ -47,6 +47,7 @@
#include "vircommand.h"
#include "lxc_hostdev.h"
#include "virhook.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_LXC

View File

@ -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"

View File

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

View File

@ -32,6 +32,7 @@
#include "viralloc.h"
#include "virlog.h"
#include "virfile.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_NODEDEV

View File

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

View File

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

View File

@ -68,6 +68,7 @@
#include "virthreadpool.h"
#include "configmake.h"
#include "virtime.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_NWFILTER

View File

@ -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"

View File

@ -43,7 +43,7 @@
#include "vircommand.h"
#include "configmake.h"
#include "intprops.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_NWFILTER

View File

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

View File

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

View File

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

View File

@ -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"

View File

@ -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"

View File

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

View File

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

View File

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

View File

@ -41,6 +41,7 @@
#include "virprocess.h"
#include "virtime.h"
#include "virobject.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_QEMU

View File

@ -25,7 +25,6 @@
#include "virebtables.h"
#include "qemu_conf.h"
#include "qemu_driver.h"
#include "virutil.h"
#include "virerror.h"
#include "virlog.h"

View File

@ -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"

View File

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

View File

@ -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"

View File

@ -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"

View File

@ -37,6 +37,7 @@
#include "domain_event.h"
#include "virtime.h"
#include "virstoragefile.h"
#include "virstring.h"
#include <sys/time.h>
#include <fcntl.h>

View File

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

View File

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

View File

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

View File

@ -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"

View File

@ -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"

View File

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

View File

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

View File

@ -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"

View File

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