]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Move LXC driver into src/lxc/
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 15 Sep 2009 16:03:01 +0000 (17:03 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 21 Sep 2009 13:41:42 +0000 (14:41 +0100)
* src/lxc_conf.c, src/lxc_conf.h, src/lxc_container.c,
  src/lxc_container.h, src/lxc_controller.c, src/lxc_driver.c,
  src/lxc_driver.h, src/veth.c, src/veth.h: Move to src/lxc/
* src/opennebula/one_driver.c: Remove bogus veth.h include
* src/Makefile.am: Adjust for lxc paths
* daemon/qemud.c: Adjust include for lxc

12 files changed:
daemon/qemud.c
src/Makefile.am
src/lxc/lxc_conf.c [moved from src/lxc_conf.c with 100% similarity]
src/lxc/lxc_conf.h [moved from src/lxc_conf.h with 100% similarity]
src/lxc/lxc_container.c [moved from src/lxc_container.c with 100% similarity]
src/lxc/lxc_container.h [moved from src/lxc_container.h with 100% similarity]
src/lxc/lxc_controller.c [moved from src/lxc_controller.c with 100% similarity]
src/lxc/lxc_driver.c [moved from src/lxc_driver.c with 100% similarity]
src/lxc/lxc_driver.h [moved from src/lxc_driver.h with 100% similarity]
src/lxc/veth.c [moved from src/veth.c with 100% similarity]
src/lxc/veth.h [moved from src/veth.h with 100% similarity]
src/opennebula/one_driver.c

index 00b9859f4d085f5312bbdcecbe482209b435fa81..cc8c0139d3ca592490566555ca11f80ba8604fef 100644 (file)
@@ -72,7 +72,7 @@
 #include "qemu_driver.h"
 #endif
 #ifdef WITH_LXC
-#include "lxc_driver.h"
+#include "lxc/lxc_driver.h"
 #endif
 #ifdef WITH_UML
 #include "uml_driver.h"
index 52f0c24bf8ab59a2f1d86695c791a6bb91b3db9c..bff7c2dea34f4d7deb71f284af919b302f65495a 100644 (file)
@@ -123,17 +123,17 @@ XEN_DRIVER_SOURCES += xen/xen_inotify.c xen/xen_inotify.h
 endif
 
 LXC_DRIVER_SOURCES =                                           \
-               lxc_conf.c lxc_conf.h                           \
-               lxc_container.c lxc_container.h                 \
-               lxc_driver.c lxc_driver.h                       \
-               veth.c veth.h                                   \
+               lxc/lxc_conf.c lxc/lxc_conf.h                   \
+               lxc/lxc_container.c lxc/lxc_container.h         \
+               lxc/lxc_driver.c lxc/lxc_driver.h               \
+               lxc/veth.c lxc/veth.h                           \
                cgroup.c cgroup.h
 
 LXC_CONTROLLER_SOURCES =                                       \
-               lxc_conf.c lxc_conf.h                           \
-               lxc_container.c lxc_container.h                 \
-               lxc_controller.c                                \
-               veth.c veth.h                                   \
+               lxc/lxc_conf.c lxc/lxc_conf.h                   \
+               lxc/lxc_container.c lxc/lxc_container.h         \
+               lxc/lxc_controller.c                            \
+               lxc/veth.c lxc/veth.h                           \
                cgroup.c cgroup.h
 
 PHYP_DRIVER_SOURCES =                                          \
similarity index 100%
rename from src/lxc_conf.c
rename to src/lxc/lxc_conf.c
similarity index 100%
rename from src/lxc_conf.h
rename to src/lxc/lxc_conf.h
similarity index 100%
rename from src/lxc_container.c
rename to src/lxc/lxc_container.c
similarity index 100%
rename from src/lxc_container.h
rename to src/lxc/lxc_container.h
similarity index 100%
rename from src/lxc_driver.c
rename to src/lxc/lxc_driver.c
similarity index 100%
rename from src/lxc_driver.h
rename to src/lxc/lxc_driver.h
similarity index 100%
rename from src/veth.c
rename to src/lxc/veth.c
similarity index 100%
rename from src/veth.h
rename to src/lxc/veth.h
index 9587a2dc7241717a9c5810f41f989abfe193e875..0ca1e9b0e92216142f73bc088853b2b09567ad5f 100644 (file)
@@ -41,7 +41,6 @@
 #include "memory.h"
 #include "util.h"
 #include "bridge.h"
-#include "veth.h"
 
 #define VIR_FROM_THIS VIR_FROM_ONE