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.
Created attachment 1278083[details]
the loading screen
Description of problem:
win2016 guest can not boot up with usb storage attached to a xhci controller.
It stuck at the loading screen as attached.
Version-Release number of selected component (if applicable):
host:
kernel-3.10.0-656.el7.x86_64
qemu-kvm-rhev-2.9.0-2.el7.x86_64
guest:
win2016
How reproducible: 3/3
Steps to Reproduce:
1.start win 2016 with qemu
/usr/libexec/qemu-kvm \
-name 'avocado-vt-vm1' \
-sandbox off \
-machine pc \
-nodefaults \
-vga std \
-device pvpanic,ioport=0x505,id=id4FzGzg \
-device nec-usb-xhci,id=controller,bus=pci.0,addr=0x7 \
-device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x3 \
-drive id=drive_image1,if=none,snapshot=off,aio=native,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/win2016-64-virtio-scsi.qcow2 \
-device scsi-hd,id=image1,drive=drive_image1 \
-device virtio-net-pci,mac=9a:4e:4f:50:51:52,id=idH8iBKj,vectors=4,netdev=iduyb7Wr,bus=pci.0,addr=0x4 \
-netdev tap,id=iduyb7Wr \
-m 8192 \
-smp 4,cores=2,threads=1,sockets=2 \
-cpu 'SandyBridge',+kvm_pv_unhalt,hv_spinlocks=0x1fff,hv_vapic,hv_time \
-drive id=drive_cd1,if=none,snapshot=off,aio=native,cache=none,media=cdrom,file=/home/kvm_autotest_root/iso/windows/winutils.iso \
-device scsi-cd,id=cd1,drive=drive_cd1 \
-device usb-tablet,id=usb-tablet1,bus=controller.0,port=2 \
-vnc :0 \
-rtc base=localtime,clock=host,driftfix=slew \
-boot order=cdn,once=c,menu=off,strict=off \
-enable-kvm \
-monitor stdio \
-qmp tcp:localhost:4444,server,nowait \
-device usb-storage,drive=drive-usb-1,id=usb-1,removable=on\
-drive file=/root/usb-stg.qcow2,if=none,id=drive-usb-1,media=disk,format=qcow2 \
2. In HMP
(qemu) info usb
Device 0.2, Port 2, Speed 480 Mb/s, Product QEMU USB Tablet, ID: usb-tablet1
Device 0.1, Port 1, Speed 5000 Mb/s, Product QEMU USB MSD, ID: usb-1
(qemu) info status
VM status: running
Actual results:
The guest can not boot up
Expected results:
The guest boots up
Additional info:
Tested used same qemu cml in step1 for both win7 and rhel7, guest can boot up.
If the last 2 lines in step1,the win2016 guest can boot up
remove:
-device usb-storage,drive=drive-usb-1,id=usb-1,removable=on\
-drive file=/root/usb-stg.qcow2,if=none,id=drive-usb-1,media=disk,format=qcow2 \
Created attachment 1278083 [details] the loading screen Description of problem: win2016 guest can not boot up with usb storage attached to a xhci controller. It stuck at the loading screen as attached. Version-Release number of selected component (if applicable): host: kernel-3.10.0-656.el7.x86_64 qemu-kvm-rhev-2.9.0-2.el7.x86_64 guest: win2016 How reproducible: 3/3 Steps to Reproduce: 1.start win 2016 with qemu /usr/libexec/qemu-kvm \ -name 'avocado-vt-vm1' \ -sandbox off \ -machine pc \ -nodefaults \ -vga std \ -device pvpanic,ioport=0x505,id=id4FzGzg \ -device nec-usb-xhci,id=controller,bus=pci.0,addr=0x7 \ -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x3 \ -drive id=drive_image1,if=none,snapshot=off,aio=native,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/win2016-64-virtio-scsi.qcow2 \ -device scsi-hd,id=image1,drive=drive_image1 \ -device virtio-net-pci,mac=9a:4e:4f:50:51:52,id=idH8iBKj,vectors=4,netdev=iduyb7Wr,bus=pci.0,addr=0x4 \ -netdev tap,id=iduyb7Wr \ -m 8192 \ -smp 4,cores=2,threads=1,sockets=2 \ -cpu 'SandyBridge',+kvm_pv_unhalt,hv_spinlocks=0x1fff,hv_vapic,hv_time \ -drive id=drive_cd1,if=none,snapshot=off,aio=native,cache=none,media=cdrom,file=/home/kvm_autotest_root/iso/windows/winutils.iso \ -device scsi-cd,id=cd1,drive=drive_cd1 \ -device usb-tablet,id=usb-tablet1,bus=controller.0,port=2 \ -vnc :0 \ -rtc base=localtime,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off,strict=off \ -enable-kvm \ -monitor stdio \ -qmp tcp:localhost:4444,server,nowait \ -device usb-storage,drive=drive-usb-1,id=usb-1,removable=on\ -drive file=/root/usb-stg.qcow2,if=none,id=drive-usb-1,media=disk,format=qcow2 \ 2. In HMP (qemu) info usb Device 0.2, Port 2, Speed 480 Mb/s, Product QEMU USB Tablet, ID: usb-tablet1 Device 0.1, Port 1, Speed 5000 Mb/s, Product QEMU USB MSD, ID: usb-1 (qemu) info status VM status: running Actual results: The guest can not boot up Expected results: The guest boots up Additional info: Tested used same qemu cml in step1 for both win7 and rhel7, guest can boot up. If the last 2 lines in step1,the win2016 guest can boot up remove: -device usb-storage,drive=drive-usb-1,id=usb-1,removable=on\ -drive file=/root/usb-stg.qcow2,if=none,id=drive-usb-1,media=disk,format=qcow2 \