chiark / gitweb /
udev: persistent naming - we cannot use virtio numbers as they are not stable
[elogind.git] / src / udev / udev-builtin-path_id.c
index 0599980a6819c1d5fa8ba29d72e09414784d5d39..3ca59e011373a963d0282f01e32be33dfcc24a4c 100644 (file)
@@ -542,9 +542,6 @@ static int builtin_path_id(struct udev_device *dev, int argc, char *argv[], bool
                 } else if (streq(subsys, "xen")) {
                         path_prepend(&path, "xen-%s", udev_device_get_sysname(parent));
                         parent = skip_subsystem(parent, "xen");
-                } else if (streq(subsys, "virtio")) {
-                        path_prepend(&path, "virtio-pci-%s", udev_device_get_sysname(parent));
-                        parent = skip_subsystem(parent, "virtio");
                 } else if (streq(subsys, "scm")) {
                         path_prepend(&path, "scm-%s", udev_device_get_sysname(parent));
                         parent = skip_subsystem(parent, "scm");