[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#856558: udev-generated /dev/disk/by-path names broken for virtio disks

Source: systemd
Version: 232
Severity: normal
Tags: upstream patch
X-Debbugs-CC: debian-s390@lists.debian.org

Dear Maintainer,

in Linux running as a KVM guest, virtio disks show up in the following
format in the /dev/disk/by-path directory:
 virtio-pci-<systemid> (on x86, s390 and armv7l)

This format implies that the device is a virtio-pci device, however this
is only true for x86. On s390 it's virtio-ccw and on arm it's typically

The upstream commit at [1] fixes this by generating a uniform path id in
the format
This will typically be something like
 pci-0000:00:00:7.0 (for x86)
 ccw-0.0.1234 (for s390)
 platform-a003e00.virtio_mmio (for arm)

On x86 additional symlinks are created for backward compatibility, i.e.

This patch is only needed for systemd 229 or higher.



Reply to: