Created attachment 1702900 [details] usb_bot Description of problem: Boot fails with usb-bot device Version-Release number of selected component (if applicable): Host: 4.18.0-228.el8.x86_64 qemu-kvm-5.0.0-2.module+el8.3.0+7379+0505d6ca.x86_64 Guest: 4.18.0-221.el8.x86_64 How reproducible: 100% Steps to Reproduce: 1.Boot VM with usb-bot device: /usr/libexec/qemu-kvm \ ...... -device usb-bot,id=usbbot,bus=usb1.0,port=2 \ -blockdev node-name=file_image1,driver=file,aio=threads,filename=/home/kvm_autotest_root/images/rhel830-64-virtio-scsi.qcow2,cache.direct=on,cache.no-flush=off \ -blockdev node-name=drive_image1,driver=qcow2,cache.direct=on,cache.no-flush=off,file=file_image1 \ -device scsi-hd,id=image1,drive=drive_image1,write-cache=on,bus=usbbot.0,scsi-id=0,lun=0 \ ...... Actual results: Boot failed as attachment. Expected results: Boot should succeed with usb-bot device. Additional info: Cannot reproduce this with qemu-kvm-4.2.0-31.module+el8.3.0+7437+4bb96e0d.x86_64
> qemu-kvm-5.0.0-2.module+el8.3.0+7379+0505d6ca.x86_64 Which upstream qemu version is this? Also which usb host adapter? We had a usb-bot/usb-storage regression upstream. Triggered with xhci only. Fixed in 5.1-rc2.
(In reply to Gerd Hoffmann from comment #3) > > qemu-kvm-5.0.0-2.module+el8.3.0+7379+0505d6ca.x86_64 > > Which upstream qemu version is this? Hi Danilo, Could you please provide the corresponding upstream qemu version? > Also which usb host adapter? Hi Gerd, I met this with nec-usb-xhci or qemu-xhci. Yes, it's not reproducible with usb-ehci. > > We had a usb-bot/usb-storage regression upstream. > Triggered with xhci only. Fixed in 5.1-rc2. Thanks!
(In reply to yduan from comment #6) > (In reply to Gerd Hoffmann from comment #3) > > > qemu-kvm-5.0.0-2.module+el8.3.0+7379+0505d6ca.x86_64 > > > > Which upstream qemu version is this? > > Hi Danilo, > Could you please provide the corresponding upstream qemu version? > From the version it should be in 5.0.0