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 | 2 --
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_xl.c | 1 -
src/libxl/xen_xl.h | 1 -
src/libxl/xen_xm.c | 1 -
12 files changed, 22 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 401e47344e..aa3d7925ec 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..7087b41079 100644
--- a/src/libxl/libxl_conf.h
+++ b/src/libxl/libxl_conf.h
@@ -27,11 +27,9 @@
#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 49ac09d8a4..17b347de4e 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 d4ae875854..f980039165 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_xl.c b/src/libxl/xen_xl.c
index eb3b0b3718..e62f591dcd 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
--
2.36.1