Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qemu/qemu
base: eeaaf96f553d
Choose a base ref
...
head repository: qemu/qemu
compare: d451e32ce8e1
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 5, 2023

  1. hw/ufs: avoid generating the same ID string for different LU devices

    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")
    
    Resolves: #2018
    Fixes: 096434f ("hw/ufs: Modify lu.c to share codes with SCSI subsystem")
    Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
    Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Message-Id: <20231204150543.48252-1-akinobu.mita@gmail.com>
    Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
    mita authored and Jeuk Kim committed Dec 5, 2023
    Copy the full SHA
    80a37b0 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'pull-ufs-20231205' of https://gitlab.com/jeuk20.kim/qemu i…

    …nto staging
    
    ufs fixes for 8.2
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQIzBAABCgAdFiEEUBfYMVl8eKPZB+73EuIgTA5dtgIFAmVurjcACgkQEuIgTA5d
    # tgLWVBAAkzus4nN2+Z0H23VUmeBPCLPFXRSkK8mOWC3ymbX3kiy/IjgM7Ept6QWA
    # btssTf3YEeDtycgbrb5GZ4kEfKThDN7bbGRHvCW5bjwkyLQN1Ys2K61CTRX0VhSi
    # U4HDE3gCm+LpO28BuV/1KunlSH4TWjt76AB6YG5PuyzSH+AbC8yY7m+VSJTmCw1k
    # cZv0TQ+9lqWc4C6ziETV8UqhhltBmd/57P3xFDKhYNl0EtzxnKGSZ2szzWqE7guY
    # DsmTlfB5bnkYPE51xxTcJnRj907utNrIfa2kbu9wXU/GuPuEf9QkDo1Dt3t1Z0Zm
    # OZPkloXC2eNufVcGYVJa2PylRjwFlg01IuhYmlhsgerg5LZz2RIyrWM61JTONF2J
    # 6EvO89e2S3XpBbnl2ugf2rMIdW1tlLSWhnLZD+jZzOu+V2TeLm6/onHWCVQ02sLr
    # ddDVpf2djvUsmRvcBBYlI40FcC9Wt828Spm+wkRsGHC+VbAg2al6jRNXyJ2LWeiS
    # wGsAwRV6XhQz996uMOWTA7jEsAawHUFgYCsH4bgiqiWEn+FblufY2iicRxY4ZsJA
    # GXpvxGoUHWE8e0XjXG1BnRFo2Q5ns9SRl5gx5X7rcmIKUGGCh3ZI72zfeVgCjm7b
    # 5/CV/YzKuCRWJCYcORguli1GVuPO01FJrBloTJc0OSaDAtZL2Mg=
    # =o2kr
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Mon 04 Dec 2023 23:59:35 EST
    # gpg:                using RSA key 5017D831597C78A3D907EEF712E2204C0E5DB602
    # gpg: Good signature from "Jeuk Kim <jeuk20.kim@samsung.com>" [unknown]
    # gpg:                 aka "Jeuk Kim <jeuk20.kim@gmail.com>" [unknown]
    # gpg: WARNING: This key is not certified with a trusted signature!
    # gpg:          There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: 5017 D831 597C 78A3 D907  EEF7 12E2 204C 0E5D B602
    
    * tag 'pull-ufs-20231205' of https://gitlab.com/jeuk20.kim/qemu:
      hw/ufs: avoid generating the same ID string for different LU devices
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 5, 2023
    Copy the full SHA
    d451e32 View commit details
    Browse the repository at this point in the history