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:
parent
d4afd34110
commit
116564e3b0
@ -585,7 +585,7 @@ qemuDomainPCIAddressSetCreate(virDomainDefPtr def,
|
|||||||
if (idx >= addrs->nbuses) {
|
if (idx >= addrs->nbuses) {
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||||
_("Inappropriate new pci controller index %zu "
|
_("Inappropriate new pci controller index %zu "
|
||||||
"not found in addrs"), idx);
|
"exceeds addrs array length"), idx);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user