mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
Rename cgroup.{h,c} to vircgroup.{h,c}
To bring in line with new naming practice, rename the= src/util/cgroup.{h,c} files to vircgroup.{h,c} Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
da3d40c0eb
commit
f9c7020c1f
@ -138,7 +138,6 @@ src/storage/storage_driver.c
|
||||
src/test/test_driver.c
|
||||
src/uml/uml_conf.c
|
||||
src/uml/uml_driver.c
|
||||
src/util/cgroup.c
|
||||
src/util/command.c
|
||||
src/util/conf.c
|
||||
src/util/dnsmasq.c
|
||||
@ -158,6 +157,7 @@ src/util/util.c
|
||||
src/util/viraudit.c
|
||||
src/util/virauth.c
|
||||
src/util/virauthconfig.c
|
||||
src/util/vircgroup.c
|
||||
src/util/virdbus.c
|
||||
src/util/virfile.c
|
||||
src/util/virhash.c
|
||||
|
@ -57,7 +57,6 @@ UTIL_SOURCES = \
|
||||
util/buf.c util/buf.h \
|
||||
util/command.c util/command.h \
|
||||
util/conf.c util/conf.h \
|
||||
util/cgroup.c util/cgroup.h \
|
||||
util/event.c util/event.h \
|
||||
util/event_poll.c util/event_poll.h \
|
||||
util/hooks.c util/hooks.h \
|
||||
@ -93,6 +92,7 @@ UTIL_SOURCES = \
|
||||
util/virtypedparam.c util/virtypedparam.h \
|
||||
util/xml.c util/xml.h \
|
||||
util/virterror.c util/virterror_internal.h \
|
||||
util/vircgroup.c util/vircgroup.h \
|
||||
util/virdbus.c util/virdbus.h \
|
||||
util/virhash.c util/virhash.h \
|
||||
util/virhashcode.c util/virhashcode.h \
|
||||
|
@ -25,7 +25,7 @@
|
||||
# define __VIR_DOMAIN_AUDIT_H__
|
||||
|
||||
# include "domain_conf.h"
|
||||
# include "cgroup.h"
|
||||
# include "vircgroup.h"
|
||||
|
||||
void virDomainAuditStart(virDomainObjPtr vm,
|
||||
const char *reason,
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "virterror_internal.h"
|
||||
#include "logging.h"
|
||||
#include "memory.h"
|
||||
#include "cgroup.h"
|
||||
#include "vircgroup.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
# include "domain_event.h"
|
||||
# include "capabilities.h"
|
||||
# include "threads.h"
|
||||
# include "cgroup.h"
|
||||
# include "vircgroup.h"
|
||||
# include "security/security_manager.h"
|
||||
# include "configmake.h"
|
||||
# include "hostusb.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "qemu_cgroup.h"
|
||||
#include "qemu_domain.h"
|
||||
#include "qemu_process.h"
|
||||
#include "cgroup.h"
|
||||
#include "vircgroup.h"
|
||||
#include "logging.h"
|
||||
#include "memory.h"
|
||||
#include "virterror_internal.h"
|
||||
|
@ -34,7 +34,7 @@
|
||||
# include "domain_event.h"
|
||||
# include "threads.h"
|
||||
# include "security/security_manager.h"
|
||||
# include "cgroup.h"
|
||||
# include "vircgroup.h"
|
||||
# include "pci.h"
|
||||
# include "hostusb.h"
|
||||
# include "cpu_conf.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* cgroup.c: Tools for managing cgroups
|
||||
* vircgroup.c: methods for managing control cgroups
|
||||
*
|
||||
* Copyright (C) 2010-2012 Red Hat, Inc.
|
||||
* Copyright IBM Corp. 2008
|
||||
@ -40,7 +40,7 @@
|
||||
#include "internal.h"
|
||||
#include "util.h"
|
||||
#include "memory.h"
|
||||
#include "cgroup.h"
|
||||
#include "vircgroup.h"
|
||||
#include "logging.h"
|
||||
#include "virfile.h"
|
||||
#include "virhash.h"
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* cgroup.h: Interface to tools for managing cgroups
|
||||
* vircgroup.h: methods for managing control cgroups
|
||||
*
|
||||
* Copyright (C) 2011-2012 Red Hat, Inc.
|
||||
* Copyright IBM Corp. 2008
|
||||
@ -22,8 +22,8 @@
|
||||
* Dan Smith <danms@us.ibm.com>
|
||||
*/
|
||||
|
||||
#ifndef CGROUP_H
|
||||
# define CGROUP_H
|
||||
#ifndef __VIR_CGROUP_H__
|
||||
# define __VIR_CGROUP_H__
|
||||
|
||||
struct virCgroup;
|
||||
typedef struct virCgroup *virCgroupPtr;
|
||||
@ -164,4 +164,4 @@ int virCgroupKill(virCgroupPtr group, int signum);
|
||||
int virCgroupKillRecursive(virCgroupPtr group, int signum);
|
||||
int virCgroupKillPainfully(virCgroupPtr group);
|
||||
|
||||
#endif /* CGROUP_H */
|
||||
#endif /* __VIR_CGROUP_H__ */
|
Loading…
Reference in New Issue
Block a user