Bug 1790844 - USB related fixes
Summary: USB related fixes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: qemu-kvm
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Dr. David Alan Gilbert
QA Contact: Xueqiang Wei
URL:
Whiteboard:
Depends On: 1786413
Blocks: 1786414
TreeView+ depends on / blocked
 
Reported: 2020-01-14 11:40 UTC by Dr. David Alan Gilbert
Modified: 2020-05-05 09:57 UTC (History)
15 users (show)

Fixed In Version: qemu-kvm-4.2.0-6.module+el8.2.0+5451+991cea0d
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1786413
Environment:
Last Closed: 2020-05-05 09:55:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:2017 0 None None None 2020-05-05 09:57:21 UTC

Comment 2 Danilo de Paula 2020-01-15 14:34:50 UTC
QA_ACK, please?

Comment 5 Xueqiang Wei 2020-01-17 10:45:00 UTC
Hi David,

This bug depends on "Bug 1786413 - Assertion `dev->state == USB_STATE_DEFAULT' failed when setting spice usb redir during migration".

Verify this bug until Bug1786413 is fixed well, right? If not, I will verify this bug first, just focus on whether hit the new issue.

Many thanks.

Comment 6 Xueqiang Wei 2020-01-19 07:27:22 UTC
1. According to https://bugzilla.redhat.com/show_bug.cgi?id=1786413#c14 and https://bugzilla.redhat.com/show_bug.cgi?id=1786413#c17,
   reproduce this bug on qemu-kvm-4.2.0-4.module+el8.2.0+5220+e82621dc.


2. According to https://bugzilla.redhat.com/show_bug.cgi?id=1786413#c18, retested it on qemu-kvm-4.2.0-6.module+el8.2.0+5451+991cea0d for 1 hour.

   Version:  
   kernel-4.18.0-167.el8.x86_64
   qemu-kvm-4.2.0-6.module+el8.2.0+5451+991cea0d
   libvirt-5.10.0-1.module+el8.2.0+5135+ed3b2489.x86_64
   virt-viewer-7.0-9.el8.x86_64
   spice-glib-0.37-1.el8.x86_64
   edk2-ovmf-20190829git37eef91017ad-4.el8.noarch

   Guest:
   kernel-4.18.0-160.el8.x86_64


   (1) not hit Bug 1786413 - Assertion `dev->state == USB_STATE_DEFAULT' failed when setting spice usb redir during migration
       not hit Bug 1752320 - vm gets stuck when migrate vm back and forth with remote-viewer trying to connect
   
   (2) qemu crash due to qemu-kvm: hw/usb/redirect.c:1356: usbredir_chardev_read: Assertion `dev->read_buf == NULL' failed.
       
      2020-01-19T06:23:49.342200Z qemu-kvm: usbredirparser: Received second hello message, ignoring
      2020-01-19T06:23:49.342450Z qemu-kvm: usbredirparser: error invalid usb-redir packet type: 132
      qemu-kvm: hw/usb/redirect.c:1356: usbredir_chardev_read: Assertion `dev->read_buf == NULL' failed.
      2020-01-19 06:23:52.262+0000: shutting down, reason=crashed
     
     track the issue by https://bugzilla.redhat.com/show_bug.cgi?id=1786413#c2 and https://bugzilla.redhat.com/show_bug.cgi?id=1786413#c9
     and the logs and dump file attached to https://bugzilla.redhat.com/show_bug.cgi?id=1786413


So set this bug status to VERIFIED. If I was wrong, please correct me. Many thanks.

Comment 7 Dr. David Alan Gilbert 2020-01-20 10:50:38 UTC
Thank you, yes that's fine.

Comment 8 Ademar Reis 2020-02-05 23:12:42 UTC
QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. Thanks

Comment 10 errata-xmlrpc 2020-05-05 09:55:51 UTC
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/RHBA-2020:2017


Note You need to log in before you can comment on or make changes to this bug.