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

Andrea Bolognani abologna at redhat.com
Tue Oct 18 13:20:24 UTC 2016


On Fri, 2016-10-14 at 15:54 -0400, Laine Stump wrote:
> 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;
>          }

ACK

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list