Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The restriction that "PIIX3 USB controller must have PCI address 0:0:1.2" is only valid for controller with index 0, so the error info: "error: internal error: PIIX3 USB controller must have PCI address 0:0:1.2" ,shoule be more clearer when editing the dumpxml with address is not 0:0:1:2 while index of PIIX3 USB controller is 0.
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.9.0-9.el7.x86_64
libvirt-3.2.0-9.el7.x86_64
kernel-3.10.0-679.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Edit the vm's dumpxml with the value of 'index' is 0, and the address is 1:1:1:2,just as follows; then check the dumpxml and start the vm
# virsh edit generic
...
<controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
...
Domain generic XML configuration edited.
# virsh dumpxml generic |grep usb -A 3
<controller type='usb' index='0' model='piix3-uhci'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
# virsh start generic
Domain generic started
2.Edit the vm's dumpxml with the value of 'index' is 0,while the address is not 1:1:1:2,just as follows; then check the dumpxml and start the vm
# virsh edit generic
...
<controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
...
error: internal error: PIIX3 USB controller must have PCI address 0:0:1.2
Failed. Try again? [y,n,i,f,?]:
3.Edit the vm's dumpxml with two usb controllers, the value of 'index' in piix3-uhci controller is 1 and the address is not 1:1:1:2,just as follows; then check the dumpxml and start the vm
# virsh edit generic
...
<controller type='usb' index='0' model='nec-xhci'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='usb' index='1' model='piix3-uhci'>
<alias name='usb1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
...
Domain generic XML configuration edited.
# virsh dumpxml generic |grep usb -A 3
<controller type='usb' index='0' model='nec-xhci'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='usb' index='1' model='piix3-uhci'>
<alias name='usb1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
# virsh start generic
Domain generic started
Actual results:
As step 2.
Expected results:
The error info in step 2 should like this: "error: internal error: PIIX3 USB controller must have PCI address 0:0:1.2 for controller with index 0"
Additional info:
Pushed upstream as:
commit f9267297cf43a4b2e686e9ab7b23ac8dfe383907
Author: Ján Tomko <jtomko>
CommitDate: 2017-10-11 09:39:23 +0200
qemu: clarify error message for index 0 PIIX3 USB controller
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
git describe: v3.8.0-70-gf9267297c
Test env components:
qemu-kvm-rhev-2.10.0-4.el7.x86_64
kernel-3.10.0-768.el7.x86_64
libvirt-3.9.0-1.el7.x86_64
Test steps:
1. Prepare a vm named 'qcow2' without 'piix3-uhci' USB controller
# virsh list --all |grep qcow2
- qcow2 shut off
# virsh dumpxml qcow2 |grep piix3 -A2
<controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
2. Edit the vm by changing the address of 'piix3-uhci' USB controller as '0:0:1.3'
# virsh edit qcow2
...
<controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
...
error: internal error: PIIX3 USB controller at index 0 must have PCI address 0:0:1.2
Failed. Try again? [y,n,i,f,?]:
All the results are as expected, move this bug to be verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2018:0704
Description of problem: The restriction that "PIIX3 USB controller must have PCI address 0:0:1.2" is only valid for controller with index 0, so the error info: "error: internal error: PIIX3 USB controller must have PCI address 0:0:1.2" ,shoule be more clearer when editing the dumpxml with address is not 0:0:1:2 while index of PIIX3 USB controller is 0. Version-Release number of selected component (if applicable): qemu-kvm-rhev-2.9.0-9.el7.x86_64 libvirt-3.2.0-9.el7.x86_64 kernel-3.10.0-679.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Edit the vm's dumpxml with the value of 'index' is 0, and the address is 1:1:1:2,just as follows; then check the dumpxml and start the vm # virsh edit generic ... <controller type='usb' index='0' model='piix3-uhci'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> ... Domain generic XML configuration edited. # virsh dumpxml generic |grep usb -A 3 <controller type='usb' index='0' model='piix3-uhci'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> # virsh start generic Domain generic started 2.Edit the vm's dumpxml with the value of 'index' is 0,while the address is not 1:1:1:2,just as follows; then check the dumpxml and start the vm # virsh edit generic ... <controller type='usb' index='0' model='piix3-uhci'> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> ... error: internal error: PIIX3 USB controller must have PCI address 0:0:1.2 Failed. Try again? [y,n,i,f,?]: 3.Edit the vm's dumpxml with two usb controllers, the value of 'index' in piix3-uhci controller is 1 and the address is not 1:1:1:2,just as follows; then check the dumpxml and start the vm # virsh edit generic ... <controller type='usb' index='0' model='nec-xhci'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='usb' index='1' model='piix3-uhci'> <alias name='usb1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> ... Domain generic XML configuration edited. # virsh dumpxml generic |grep usb -A 3 <controller type='usb' index='0' model='nec-xhci'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='usb' index='1' model='piix3-uhci'> <alias name='usb1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> # virsh start generic Domain generic started Actual results: As step 2. Expected results: The error info in step 2 should like this: "error: internal error: PIIX3 USB controller must have PCI address 0:0:1.2 for controller with index 0" Additional info: