diff options
author | Markus Groß <gross@univention.de> | 2011-02-21 14:40:10 +0100 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-02-21 11:11:22 -0700 |
commit | 1556ced2deac4d21972c1afd6c123759472dea0b (patch) | |
tree | 74c2c4992bb21c7d7c526814eb68c1df14b032bf /tests | |
parent | 2f2a88b9983384789c5f8be35a60ef425e3cf685 (diff) | |
download | libvirt-1556ced2deac4d21972c1afd6c123759472dea0b.tar.gz |
Moved XM parsing functions to xenxs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/xmconfigtest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/xmconfigtest.c b/tests/xmconfigtest.c index ea00747cd1..a825c17274 100644 --- a/tests/xmconfigtest.c +++ b/tests/xmconfigtest.c @@ -31,6 +31,7 @@ #include "datatypes.h" #include "xen/xen_driver.h" #include "xen/xm_internal.h" +#include "xenxs/xen_xm.h" #include "testutils.h" #include "testutilsxen.h" #include "memory.h" @@ -127,7 +128,7 @@ static int testCompareFormatXML(const char *xmcfg, const char *xml, if (!(conf = virConfReadMem(xmcfgPtr, strlen(xmcfgPtr), 0))) goto fail; - if (!(def = xenXMDomainConfigParse(conn, conf))) + if (!(def = xenXMDomainConfigParse(conf, priv.xendConfigVersion, priv.caps))) goto fail; if (!(gotxml = virDomainDefFormat(def, VIR_DOMAIN_XML_SECURE))) |