提交 47a01895 编写于 作者: J Ján Tomko

conf: reject pci-root controllers with non-zero indexes

https://bugzilla.redhat.com/show_bug.cgi?id=981261
上级 945b18eb
......@@ -5668,6 +5668,13 @@ virDomainControllerDefParseXML(xmlNodePtr node,
"have an address"));
goto error;
}
if (def->idx != 0) {
virReportError(VIR_ERR_XML_ERROR, "%s",
_("pci-root controller should have "
"index 0"));
goto error;
}
}
default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册