From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Date: Fri, 25 Jun 2010 13:59:21 +0000 Subject: [PATCH v3 0/2] Add virtio-blk support to persistent-storage rules Message-Id: <1277474363-6534-1-git-send-email-ryanh@us.ibm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Cc: john cooper , Rusty Russell , qemu-devel@nongnu.org, Ryan Harper 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)[2] to generate the by-id path; however if the guest or host qemu isn't capable then no action is taken. Changes since v2: - Added 'serial' sysfs attribute to virtio-blk code upstream [2] - Dropped VBID ioctl upstream [3] - Switched rules to extract serial attributes directly 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 2. https://lists.linux-foundation.org/pipermail/virtualization/2010-June/015326.html 3. https://lists.linux-foundation.org/pipermail/virtualization/2010-June/015325.html