Bug 1375417
Summary: | Libvirt should give the range for the configurable ports in nec-usb-xhci | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Pei Zhang <pzhang> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
Status: | CLOSED ERRATA | QA Contact: | jiyan <jiyan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | dyuan, jtomko, rbalakri, xuzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-3.1.0-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 17:14:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pei Zhang
2016-09-13 04:02:05 UTC
Pushed as: commit 723fef99c0e29d1a327aaea4cef477609f6ccbc2 Author: Ján Tomko <jtomko> CommitDate: 2017-02-13 16:34:09 +0100 qemu: enforce maximum ports value for nec-xhci This controller only allows up to 15 ports. https://bugzilla.redhat.com/show_bug.cgi?id=1375417 git describe: v3.0.0-183-g723fef9 Version-Release number of selected component (if applicable): libvirt-3.2.0-4.el7.x86_64 qemu-kvm-rhev-2.9.0-3.el7.x86_64 kernel-3.10.0-663.el7.x86_64 step to verify: 1.edit the vm's dumpxml file as follows: # virsh edit vm <controller type='usb' index='0' model='nec-xhci' ports='16'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'/> <channel type='spicevmc'> ... <redirdev bus='usb' type='spicevmc'> <address type='usb' bus='0' port='16'/> </redirdev> 2.try to save the dumpxml file in the step 1 # virsh edit vm Failed. Try again? [y,n,i,f,?]: error: unsupported configuration: 'nec-xhci' controller only supports up to '15' ports 3.And verify other value of ports in controller while "<controller type='usb' index='0' model='nec-xhci' ports='0'>" # virsh edit cow error: XML error: Missing USB bus 0 while "<controller type='usb' index='0' model='nec-xhci' ports='1'>" # virsh edit cow error: XML error: requested USB port 2 not present on USB bus 0 while "<controller type='usb' index='0' model='nec-xhci' ports='15'>" # virsh edit cow Domain cow XML configuration edited. # virsh start cow Domain cow started 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-2017:1846 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-2017:1846 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-2017:1846 |