[libvirt] [PATCH v4 06/25] [NEW] qemu: make error message in qemuDomainPCIAddressSetCreate more clear.

Laine Stump laine at laine.org
Fri Oct 14 19:54:02 UTC 2016


This error should only ever be seen by a developer anyway, but the
existing message made even less sense that this new version.
---
 src/qemu/qemu_domain_address.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c
index 3926b18..8628dc1 100644
--- a/src/qemu/qemu_domain_address.c
+++ b/src/qemu/qemu_domain_address.c
@@ -583,7 +583,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;
         }
 
-- 
2.7.4




More information about the libvir-list mailing list