qemu: make error message in qemuDomainPCIAddressSetCreate more clear.

This error should only ever be seen by a developer anyway, but the
existing message made even less sense that this new version.
This commit is contained in:
Laine Stump 2016-10-13 14:50:23 -04:00
parent d4afd34110
commit 116564e3b0

View File

@ -585,7 +585,7 @@ qemuDomainPCIAddressSetCreate(virDomainDefPtr def,
if (idx >= addrs->nbuses) {
virReportError(VIR_ERR_INTERNAL_ERROR,
_("Inappropriate new pci controller index %zu "
"not found in addrs"), idx);
"exceeds addrs array length"), idx);
goto error;
}