[libvirt] [PATCH 2/2] qemu: clarify error message for index 0 PIIX3 USB controller

Ján Tomko jtomko at redhat.com
Tue Sep 26 11:05:39 UTC 2017


The address is restricted to 0:0:1.2 only for the piix3-uhci controller
with index 0.

https://bugzilla.redhat.com/show_bug.cgi?id=1460602
---
 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 f35e01e5a..17ef93a3b 100644
--- a/src/qemu/qemu_domain_address.c
+++ b/src/qemu/qemu_domain_address.c
@@ -1419,7 +1419,7 @@ qemuDomainValidateDevicePCISlotsPIIX3(virDomainDefPtr def,
                     cont->info.addr.pci.slot != 1 ||
                     cont->info.addr.pci.function != 2) {
                     virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                                   _("PIIX3 USB controller must have PCI address 0:0:1.2"));
+                                   _("PIIX3 USB controller with index 0 must have PCI address 0:0:1.2"));
                     goto cleanup;
                 }
             } else {
-- 
2.13.0




More information about the libvir-list mailing list