From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Date: Thu, 10 Jun 2010 19:16:12 +0000 Subject: [PATCH v2 0/3] Add virtio-blk support to persistent-storage rules Message-Id: <1276197375-4524-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 , Ryan Harper , qemu-devel@nongnu.org, David Zeuthen 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 Signed-off-by: Ryan Harper