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:
Usb input device attached to the same hub with usb-storage can't work after local migration
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1.Boot up guest with command:
/usr/libexec/qemu-kvm \
-m 8192 \
-smp 4 \
-monitor stdio \
-vnc :91\
-vga std\
-nodefaults \
-device virtio-blk-pci,drive=drive-virtio-blk0,id=virtio-blk0 \
-drive file=rhel74-64-virtio.qcow2,format=qcow2,if=none,id=drive-virtio-blk0,snapshot=on \
-device virtio-net-pci,netdev=net0,id=nic0,mac=52:54:00:c4:e7:84 \
-netdev tap,id=net0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown,vhost=on \
-device qemu-xhci,id=controller1\
-device usb-hub,id=hub1,port=1 \
-device usb-mouse,id=usbmouse,port=1.1\
-device usb-kbd,id=usbkbd,port=1.2\
-device usb-tablet,id=usbtablet,port=1.3\
-device usb-storage,id=storage1,port=1.4,drive=drive1 \
-drive file=data1.qcow2,id=drive1,if=none \
2.Boot up destination guest with additional command:
-incoming tcp:0:7777
3.Try to migrate it on localhost.
(qemu) migrate -d tcp:localhost:7777
4.Try to use mouse and kerboard in destination guest via vnc after migration.
Actual results:
Cann't use the usb input device(usb-mouse ,usb-tablet,usb-kbd)
Expected results:
Can use the usb input device(usb-mouse ,usb-tablet,usb-kbd)
Additional info:
The same issue on x86 platform ,and only happened with nec-usb-xhci and qemu-xhci controller.
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.9.0-5.el7
host:kernel-3.10.0-663.el7.ppc64le
guest:kernel-3.10.0-663.el7.ppc64