]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: clarify error message for index 0 PIIX3 USB controller
authorJán Tomko <jtomko@redhat.com>
Tue, 26 Sep 2017 11:03:49 +0000 (13:03 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 11 Oct 2017 07:39:23 +0000 (09:39 +0200)
The address is restricted to 0:0:1.2 only for the piix3-uhci controller
at index 0.

https://bugzilla.redhat.com/show_bug.cgi?id=1460602

src/qemu/qemu_domain_address.c

index 69c0c8bf25e1bd0503f324cbed4c3723a3eb1840..9edfc5c2d8042cd0f642c5af98c5529dc6115586 100644 (file)
@@ -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 at index 0 must have PCI address 0:0:1.2"));
                     goto cleanup;
                 }
             } else {