mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
conf: reject pci-root controllers with non-zero indexes
https://bugzilla.redhat.com/show_bug.cgi?id=981261
This commit is contained in:
parent
945b18eb7d
commit
47a01895fb
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user