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:
As subject, If boot guest with 53 usb storage devices in one xhci controller, qemu boot successful. In other words, one xhci controller Max support 53 usb storage devices.
Version-Release number of selected component (if applicable):
# uname -r
3.8.0-0.37.el7.x86_64
# rpm -qa|grep qemu
qemu-kvm-1.3.0-8.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1.I added command line to attachment
2.
3.
Actual results:
qemu core dump
(gdb) bt
#0 0x00007ffff2afaba5 in raise () from /lib64/libc.so.6
#1 0x00007ffff2afc358 in abort () from /lib64/libc.so.6
#2 0x00007ffff2af3972 in __assert_fail_base () from /lib64/libc.so.6
#3 0x00007ffff2af3a22 in __assert_fail () from /lib64/libc.so.6
#4 0x00005555557d97f5 in vmstate_register_with_alias_id (dev=dev@entry=0x55555b2ca230, instance_id=<optimized out>, instance_id@entry=-1, vmsd=
0x555555bc99a0 <vmstate_scsi_disk_state>, opaque=opaque@entry=0x55555b2ca230, alias_id=alias_id@entry=-1, required_for_version=required_for_version@entry=0)
at /usr/src/debug/qemu-1.3.0/savevm.c:1397
#5 0x00005555556aed6d in qdev_init (dev=dev@entry=0x55555b2ca230) at hw/qdev.c:172
#6 0x00005555556b57d3 in scsi_bus_legacy_add_drive (bus=bus@entry=0x55555b2c9530, bdrv=bdrv@entry=0x55555b02c230, unit=unit@entry=0, removable=true, bootindex=-1)
at hw/scsi-bus.c:228
#7 0x00005555556ce525 in usb_msd_initfn (dev=0x55555b2c7e50) at hw/usb/dev-storage.c:599
#8 0x00005555556c3185 in usb_device_init (dev=0x55555b2c7e50) at hw/usb/bus.c:97
#9 usb_qdev_init (qdev=0x55555b2c7e50) at hw/usb/bus.c:203
#10 0x00005555556aed1f in qdev_init (dev=dev@entry=0x55555b2c7e50) at hw/qdev.c:155
#11 0x00005555556a9d29 in qdev_device_add (opts=0x5555564f5230) at hw/qdev-monitor.c:481
#12 0x000055555576de39 in device_init_func (opts=<optimized out>, opaque=<optimized out>) at vl.c:2052
#13 0x000055555572ae63 in qemu_opts_foreach (list=<optimized out>, func=func@entry=0x55555576de20 <device_init_func>, opaque=opaque@entry=0x0,
abort_on_failure=abort_on_failure@entry=1) at qemu-option.c:1106
#14 0x00005555555d21e9 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:3885
Expected results:
shouldn't core dump, give a correct error message
Additional info:
Description of problem: As subject, If boot guest with 53 usb storage devices in one xhci controller, qemu boot successful. In other words, one xhci controller Max support 53 usb storage devices. Version-Release number of selected component (if applicable): # uname -r 3.8.0-0.37.el7.x86_64 # rpm -qa|grep qemu qemu-kvm-1.3.0-8.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.I added command line to attachment 2. 3. Actual results: qemu core dump (gdb) bt #0 0x00007ffff2afaba5 in raise () from /lib64/libc.so.6 #1 0x00007ffff2afc358 in abort () from /lib64/libc.so.6 #2 0x00007ffff2af3972 in __assert_fail_base () from /lib64/libc.so.6 #3 0x00007ffff2af3a22 in __assert_fail () from /lib64/libc.so.6 #4 0x00005555557d97f5 in vmstate_register_with_alias_id (dev=dev@entry=0x55555b2ca230, instance_id=<optimized out>, instance_id@entry=-1, vmsd= 0x555555bc99a0 <vmstate_scsi_disk_state>, opaque=opaque@entry=0x55555b2ca230, alias_id=alias_id@entry=-1, required_for_version=required_for_version@entry=0) at /usr/src/debug/qemu-1.3.0/savevm.c:1397 #5 0x00005555556aed6d in qdev_init (dev=dev@entry=0x55555b2ca230) at hw/qdev.c:172 #6 0x00005555556b57d3 in scsi_bus_legacy_add_drive (bus=bus@entry=0x55555b2c9530, bdrv=bdrv@entry=0x55555b02c230, unit=unit@entry=0, removable=true, bootindex=-1) at hw/scsi-bus.c:228 #7 0x00005555556ce525 in usb_msd_initfn (dev=0x55555b2c7e50) at hw/usb/dev-storage.c:599 #8 0x00005555556c3185 in usb_device_init (dev=0x55555b2c7e50) at hw/usb/bus.c:97 #9 usb_qdev_init (qdev=0x55555b2c7e50) at hw/usb/bus.c:203 #10 0x00005555556aed1f in qdev_init (dev=dev@entry=0x55555b2c7e50) at hw/qdev.c:155 #11 0x00005555556a9d29 in qdev_device_add (opts=0x5555564f5230) at hw/qdev-monitor.c:481 #12 0x000055555576de39 in device_init_func (opts=<optimized out>, opaque=<optimized out>) at vl.c:2052 #13 0x000055555572ae63 in qemu_opts_foreach (list=<optimized out>, func=func@entry=0x55555576de20 <device_init_func>, opaque=opaque@entry=0x0, abort_on_failure=abort_on_failure@entry=1) at qemu-option.c:1106 #14 0x00005555555d21e9 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:3885 Expected results: shouldn't core dump, give a correct error message Additional info: