[PATCH 0/2] node_device: Treat NVMe disks as regular disks

Michal Privoznik posted 2 patches 2 years, 3 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1643202623.git.mprivozn@redhat.com
src/node_device/node_device_udev.c | 43 ++++++++++++++++--------------
1 file changed, 23 insertions(+), 20 deletions(-)
[PATCH 0/2] node_device: Treat NVMe disks as regular disks
Posted by Michal Privoznik 2 years, 3 months ago
Apparently udev doesn't think that NVMe disk is really a disk because it
doesn't set ID_TYPE attribute to "disk" (it doesn't set the attribute at
all). But it does set DEVTYPE=disk so with a little bit of work we can
report NVMe disks as devices with VIR_NODE_DEV_CAP_STORAGE capability.

Michal Prívozník (2):
  node_device: Rework udevKludgeStorageType()
  node_device: Treat NVMe disks as regular disks

 src/node_device/node_device_udev.c | 43 ++++++++++++++++--------------
 1 file changed, 23 insertions(+), 20 deletions(-)

-- 
2.34.1