domain: conf: Drop expectedVirtTypes

This needs to specified in way too many places for a simple validation
check. The ostype/arch/virttype validation checks later in
DomainDefParseXML should catch most of the cases that this was covering.
This commit is contained in:
Cole Robinson
2015-04-17 21:22:48 -04:00
parent 747761a79a
commit 835cf84b7e
38 changed files with 19 additions and 179 deletions

View File

@@ -193,9 +193,7 @@ testSELinuxLoadDef(const char *testname)
if (virFileReadAll(xmlfile, 1024*1024, &xmlstr) < 0)
goto cleanup;
if (!(def = virDomainDefParseString(xmlstr, caps, xmlopt,
QEMU_EXPECTED_VIRT_TYPES,
0)))
if (!(def = virDomainDefParseString(xmlstr, caps, xmlopt, 0)))
goto cleanup;
for (i = 0; i < def->ndisks; i++) {