]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: clean up includes
authorJán Tomko <jtomko@redhat.com>
Wed, 13 Apr 2016 06:12:47 +0000 (08:12 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 13 Apr 2016 11:00:53 +0000 (13:00 +0200)
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
tests/testutilsqemu.h

index dddc775bc18b5b0d2875cf7a72c3ab94a2339d6d..f4093f1ff0e82fea15a7702d7b955ec068168b70 100644 (file)
@@ -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"
index 196dc232c5369574b22725cdc82dda1dab38777a..f5a8056bbb87d71a47bf60dc15f716a8b0d50077 100644 (file)
@@ -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);