Skip to contentSkip to conversation

Add virtio-blk support to persistent-storage rules

PATCH Superseded Ryan Harper 1 participant 1 message Jun 10, 2010

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add virtio-blk support to persistent-storage rules

This patch series provides updates to udev to allow the creation symlinks for virtio-blk devices, specifically disk/by-id and disk/by-path. This is most useful for virtio-blk devices that do not yet have any filesystem for which a UUID can be extracted (disk/by-uuid). These patches (save the path_id fix) require an updated[1] qemu (on the host) and virtio-blk (in the guest) to generate the by-id path; however if the guest or host qemu isn't capable then no action is taken.

Changes since v1:
- Switch ID_VIRTIO_SERIAL to ID_SERIAL
- Switched IOCTL_CMD to use numeric value
- Add ID_SERIAL_SHORT
- Update persistent-storage rules to use ID_SERIAL for virtioblk_id

1. http://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01869.html