id = 2018 title = "QEMU would not start when trying to create two UFS host controllers" state = "closed" created_at = "2023-12-05T04:34:18.821Z" closed_at = "2023-12-05T21:32:34.466Z" labels = ["workflow::Patch available"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2018" host-os = "22.04.1-Ubuntu" host-arch = "x86_64" qemu-version = "latest master" guest-os = "NA" guest-arch = "NA" description = """This issue is reported by Akinobu Mita. https://lore.kernel.org/qemu-devel/20231204150543.48252-1-akinobu.mita@gmail.com/ > QEMU would not start when trying to create two UFS host controllers and a UFS logical unit for each with the following options: > > -device ufs,id=bus0 \\ > -device ufs-lu,drive=drive1,bus=bus0,lun=0 \\ > -device ufs,id=bus1 \\ > -device ufs-lu,drive=drive2,bus=bus1,lun=0 \\ > > This is because the same ID string ("0:0:0/scsi-disk") is generated > for both UFS logical units. > > To fix this issue, prepend the parent pci device's path to make > the ID string unique. > ("0000:00:03.0/0:0:0/scsi-disk" and "0000:00:04.0/0:0:0/scsi-disk")""" reproduce = "n/a" additional = "n/a"