[PATCH 2/4] tests: clean up includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After removing qemuBuildCommandLineCallbacks, testutilsqemu.h does not
need to include qemu_command.h.

Include just qemu_conf.h here and qemu_domain_address.h in files that
need it.
---
 tests/qemuxml2xmltest.c | 2 +-
 tests/testutilsqemu.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index dddc775..f4093f1 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -13,7 +13,7 @@
 #ifdef WITH_QEMU
 
 # include "internal.h"
-# include "qemu/qemu_conf.h"
+# include "qemu/qemu_domain_address.h"
 # include "qemu/qemu_domain.h"
 # include "testutilsqemu.h"
 # include "virstring.h"
diff --git a/tests/testutilsqemu.h b/tests/testutilsqemu.h
index 196dc23..f5a8056 100644
--- a/tests/testutilsqemu.h
+++ b/tests/testutilsqemu.h
@@ -2,8 +2,8 @@
 
 # include "capabilities.h"
 # include "domain_conf.h"
-# include "qemu/qemu_command.h"
 # include "qemu/qemu_capabilities.h"
+# include "qemu/qemu_conf.h"
 
 virCapsPtr testQemuCapsInit(void);
 virDomainXMLOptionPtr testQemuXMLConfInit(void);
-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]