From: Adam Tao <tcx4c70(a)gmail.com>
Signed-off-by: Peng Liang <tcx4c70(a)gmail.com>
---
src/libxl/libxl_capabilities.c | 1 -
src/libxl/libxl_capabilities.h | 2 --
src/libxl/libxl_conf.c | 3 ---
src/libxl/libxl_conf.h | 3 ---
src/libxl/libxl_domain.c | 1 -
src/libxl/libxl_domain.h | 2 --
src/libxl/libxl_driver.c | 3 ---
src/libxl/libxl_logger.c | 2 --
src/libxl/libxl_migration.c | 3 ---
src/libxl/xen_common.h | 1 -
src/libxl/xen_xl.c | 1 -
src/libxl/xen_xl.h | 1 -
src/libxl/xen_xm.c | 1 -
src/libxl/xen_xm.h | 1 -
14 files changed, 25 deletions(-)
diff --git a/src/libxl/libxl_capabilities.c b/src/libxl/libxl_capabilities.c
index 6c7dfcb15e..c2975d637e 100644
--- a/src/libxl/libxl_capabilities.c
+++ b/src/libxl/libxl_capabilities.c
@@ -27,7 +27,6 @@
#include "virerror.h"
#include "virfile.h"
#include "viralloc.h"
-#include "virstring.h"
#include "domain_conf.h"
#include "capabilities.h"
#include "domain_capabilities.h"
diff --git a/src/libxl/libxl_capabilities.h b/src/libxl/libxl_capabilities.h
index fd2b72620b..6611786dd5 100644
--- a/src/libxl/libxl_capabilities.h
+++ b/src/libxl/libxl_capabilities.h
@@ -22,8 +22,6 @@
#include <libxl.h>
-#include "virobject.h"
-#include "capabilities.h"
#include "domain_capabilities.h"
#include "virfirmware.h"
diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c
index e5fe209718..26f69543f3 100644
--- a/src/libxl/libxl_conf.c
+++ b/src/libxl/libxl_conf.c
@@ -28,20 +28,17 @@
#include "internal.h"
#include "virlog.h"
#include "virerror.h"
-#include "datatypes.h"
#include "virconf.h"
#include "virfile.h"
#include "viridentity.h"
#include "virstring.h"
#include "viralloc.h"
#include "viruuid.h"
-#include "vircommand.h"
#include "virsocketaddr.h"
#include "libxl_api_wrapper.h"
#include "libxl_domain.h"
#include "libxl_conf.h"
#include "libxl_utils.h"
-#include "virstoragefile.h"
#include "virsecret.h"
#include "cpu/cpu.h"
#include "xen_common.h"
diff --git a/src/libxl/libxl_conf.h b/src/libxl/libxl_conf.h
index 16a7195bfd..cf160f11b7 100644
--- a/src/libxl/libxl_conf.h
+++ b/src/libxl/libxl_conf.h
@@ -23,15 +23,12 @@
#include <libxl.h>
-#include "internal.h"
#include "libvirt_internal.h"
#include "virdomainobjlist.h"
#include "domain_event.h"
-#include "capabilities.h"
#include "configmake.h"
#include "virportallocator.h"
#include "virobject.h"
-#include "virchrdev.h"
#include "virhostdev.h"
#include "locking/lock_manager.h"
#include "virfirmware.h"
diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.c
index dbe44f4ffc..41775be0e8 100644
--- a/src/libxl/libxl_domain.c
+++ b/src/libxl/libxl_domain.c
@@ -32,7 +32,6 @@
#include "virerror.h"
#include "virhook.h"
#include "virlog.h"
-#include "virstring.h"
#include "virtime.h"
#include "locking/domain_lock.h"
#include "xen_common.h"
diff --git a/src/libxl/libxl_domain.h b/src/libxl/libxl_domain.h
index aa15e0352f..5ce4d518a9 100644
--- a/src/libxl/libxl_domain.h
+++ b/src/libxl/libxl_domain.h
@@ -22,10 +22,8 @@
#include <libxl.h>
-#include "domain_conf.h"
#include "libxl_conf.h"
#include "virchrdev.h"
-#include "virenum.h"
#include "domain_job.h"
diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
index 9ffa20161d..aee3056636 100644
--- a/src/libxl/libxl_driver.c
+++ b/src/libxl/libxl_driver.c
@@ -36,7 +36,6 @@
#include "viralloc.h"
#include "viruuid.h"
#include "virhook.h"
-#include "vircommand.h"
#include "libxl_api_wrapper.h"
#include "libxl_domain.h"
#include "libxl_driver.h"
@@ -47,8 +46,6 @@
#include "xen_xl.h"
#include "virtypedparam.h"
#include "viruri.h"
-#include "virstring.h"
-#include "virsysinfo.h"
#include "viraccessapicheck.h"
#include "virhostdev.h"
#include "virpidfile.h"
diff --git a/src/libxl/libxl_logger.c b/src/libxl/libxl_logger.c
index 45cdc32f38..69565823a0 100644
--- a/src/libxl/libxl_logger.c
+++ b/src/libxl/libxl_logger.c
@@ -24,10 +24,8 @@
#include "internal.h"
#include "libxl_logger.h"
#include "util/viralloc.h"
-#include "util/virerror.h"
#include "util/virfile.h"
#include "util/virhash.h"
-#include "util/virstring.h"
#include "util/virthread.h"
#include "util/virtime.h"
diff --git a/src/libxl/libxl_migration.c b/src/libxl/libxl_migration.c
index 5bb8747890..0fd2b3206e 100644
--- a/src/libxl/libxl_migration.c
+++ b/src/libxl/libxl_migration.c
@@ -23,12 +23,10 @@
#include "internal.h"
#include "virlog.h"
#include "virerror.h"
-#include "virconf.h"
#include "datatypes.h"
#include "virfile.h"
#include "viralloc.h"
#include "viruuid.h"
-#include "vircommand.h"
#include "virstring.h"
#include "virobject.h"
#include "virthread.h"
@@ -36,7 +34,6 @@
#include "rpc/virnetsocket.h"
#include "libxl_api_wrapper.h"
#include "libxl_domain.h"
-#include "libxl_driver.h"
#include "libxl_conf.h"
#include "libxl_migration.h"
#include "locking/domain_lock.h"
diff --git a/src/libxl/xen_common.h b/src/libxl/xen_common.h
index b21046e959..7436a7643c 100644
--- a/src/libxl/xen_common.h
+++ b/src/libxl/xen_common.h
@@ -20,7 +20,6 @@
#pragma once
-#include "internal.h"
#include "virconf.h"
#include "domain_conf.h"
diff --git a/src/libxl/xen_xl.c b/src/libxl/xen_xl.c
index 6b7f638783..3b5825eaa3 100644
--- a/src/libxl/xen_xl.c
+++ b/src/libxl/xen_xl.c
@@ -29,7 +29,6 @@
#include "domain_conf.h"
#include "viralloc.h"
#include "virstring.h"
-#include "storage_source.h"
#include "storage_source_backingstore.h"
#include "xen_xl.h"
#include "libxl_capabilities.h"
diff --git a/src/libxl/xen_xl.h b/src/libxl/xen_xl.h
index c997562956..f8b1ebfde9 100644
--- a/src/libxl/xen_xl.h
+++ b/src/libxl/xen_xl.h
@@ -23,7 +23,6 @@
#pragma once
#include "virconf.h"
-#include "domain_conf.h"
#include "xen_common.h"
virDomainDef *xenParseXL(virConf *conn,
diff --git a/src/libxl/xen_xm.c b/src/libxl/xen_xm.c
index a962da9cad..d6213a852d 100644
--- a/src/libxl/xen_xm.c
+++ b/src/libxl/xen_xm.c
@@ -29,7 +29,6 @@
#include "xenxs_private.h"
#include "xen_xm.h"
#include "domain_conf.h"
-#include "virstring.h"
#include "xen_common.h"
#define VIR_FROM_THIS VIR_FROM_XENXM
diff --git a/src/libxl/xen_xm.h b/src/libxl/xen_xm.h
index afb4f51ff7..25d3d2bfbd 100644
--- a/src/libxl/xen_xm.h
+++ b/src/libxl/xen_xm.h
@@ -22,7 +22,6 @@
#pragma once
-#include "internal.h"
#include "virconf.h"
#include "domain_conf.h"
--
2.36.1