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.
Fixed upstream by:
commit c9123fbe85430dab5e737b20f5657aab650a5d45
Author: Ján Tomko <jtomko>
CommitDate: 2014-04-03 15:21:38 +0200
Add redirdevs to ABI stability check
Check the bus, type of the source device (tcp vs. spicevmc)
and the device address visible in the guest.
https://bugzilla.redhat.com/show_bug.cgi?id=1035128
git describe: v1.2.3-38-gc9123fb
Tested pass with:
libvirt-0.10.2-33.el6.x86_64
Steps:
1.Prepare a guest.
2.Plug in a usb device on host with usbredir packages installed.
# lsusb
Bus 002 Device 002: ID 0951:1625 Kingston Technology DataTraveler 101 II
# usbredirserver -p 4000 0951:1625
3. Configure the guest with Redirected USB Device with tcp type.
4. Boot the guest.
5.Use virsh dumpxml to get the xml of the guest.
# virsh dumpxml mig > mig.xml
……
<redirdev bus='usb' type='tcp'>
<source mode='connect' host='$ip' service='4000'/>
<protocol type='raw'/>
</redirdev>
……
6.Change the type in xml from 'tcp' to 'spicevmc'.
change xml from:
<redirdev bus='usb' type='tcp'>
<source mode='connect' host='$ip' service='4000'/>
<protocol type='raw'/>
</redirdev>
to:
<redirdev bus='usb' type='spicevmc'>
<source mode='connect' host='$ip' service='4000'/>
<protocol type='raw'/>
</redirdev>
7.Do migrate,error shows:
# virsh migrate --live mig qemu+ssh://$ip/system --xml mig.xml
error: unsupported configuration: Target redirected device source type spicevmc does not match source device source type tcp
8.Edit in xml to add one more usb redirdev,add the below part in mig.xml:
<redirdev bus='usb' type='spicevmc'>
<alias name='redir1'/>
</redirdev>
9.Do migrate,error shows:
# virsh migrate --live mig qemu+ssh://$ip/system --xml mig.xml
error: unsupported configuration: Target domain redirected devices count 2 does not match source 1
Refer to the above comments,move the bug to 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.
http://rhn.redhat.com/errata/RHBA-2014-1374.html
Fixed upstream by: commit c9123fbe85430dab5e737b20f5657aab650a5d45 Author: Ján Tomko <jtomko> CommitDate: 2014-04-03 15:21:38 +0200 Add redirdevs to ABI stability check Check the bus, type of the source device (tcp vs. spicevmc) and the device address visible in the guest. https://bugzilla.redhat.com/show_bug.cgi?id=1035128 git describe: v1.2.3-38-gc9123fb