summaryrefslogtreecommitdiff
path: root/tests/testutilsxen.h
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2013-03-05 16:17:24 +0100
committerPeter Krempa <pkrempa@redhat.com>2013-03-13 09:27:14 +0100
commit27cf98e2d12cca72ea2001024b745a8f599ef68d (patch)
tree0a1f0d9181aa30d21e1c8292e59679486bd21f4e /tests/testutilsxen.h
parentbe27de6e8d2f762285000d706a1ea2df69638c3e (diff)
downloadlibvirt-27cf98e2d12cca72ea2001024b745a8f599ef68d.tar.gz
virCaps: conf: start splitting out irrelevat data
The virCaps structure gathered a ton of irrelevant data over time that. The original reason is that it was propagated to the XML parser functions. This patch aims to create a new data structure virDomainXMLConf that will contain immutable data that are used by the XML parser. This will allow two things we need: 1) Get rid of the stuff from virCaps 2) Allow us to add callbacks to check and add driver specific stuff after domain XML is parsed. This first attempt removes pointers to private data allocation functions to this new structure and update all callers and function that require them.
Diffstat (limited to 'tests/testutilsxen.h')
-rw-r--r--tests/testutilsxen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testutilsxen.h b/tests/testutilsxen.h
index 7f27e225cc..d4576cb1a6 100644
--- a/tests/testutilsxen.h
+++ b/tests/testutilsxen.h
@@ -1,4 +1,6 @@
#include "capabilities.h"
+#include "domain_conf.h"
virCapsPtr testXenCapsInit(void);
+virDomainXMLConfPtr testXenXMLConfInit(void);