mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user