[systemd-devel] udev virtio by-path naming

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Mar 1 03:30:07 UTC 2017

On Tue, Feb 28, 2017 at 09:47:42AM +0100, Viktor Mihajlovski wrote:
> >>>> One could argue about back-level compatibility, but virtio by-path
> >>>> naming has changed multiple times. We have seen virtio-pci-virtio<n>
> >>>> (not predictable), pci-<busid> and virtio-pci-<busid> already. It
> >>>> might be a good time now to settle on a common approach for all
> >>>> virtio types.
> >>>>
> >>>> For the reasons above, I'd vote for <subsystem>-<busid>, which
> >>>> would work for PCI and CCW, not sure about ARM MMIO though.

It seems that there's agreement that <subsystem>-<busid> is the right

Ideally we would keep the virtio-pci-<busid> links as they appear
right now, for backwards compatibility, just for the pci devices, and
mark them as deprecated (dunno where, maybe just in NEWS), and add the
code to make the links.

I haven't looked at the code, maybe we just do this with the right
udev rule, and also stick the deprecation comment there?


More information about the systemd-devel mailing list