From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44167 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSCzH-0002Dc-TI for qemu-devel@nongnu.org; Fri, 25 Jun 2010 13:46:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OS9RZ-0006dL-Jr for qemu-devel@nongnu.org; Fri, 25 Jun 2010 09:59:46 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:54158) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OS9RZ-0006Qq-Cf for qemu-devel@nongnu.org; Fri, 25 Jun 2010 09:59:45 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e38.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o5PDqplf014043 for ; Fri, 25 Jun 2010 07:52:51 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id o5PDxVTc174266 for ; Fri, 25 Jun 2010 07:59:34 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o5PDxRGx014260 for ; Fri, 25 Jun 2010 07:59:27 -0600 From: Ryan Harper Date: Fri, 25 Jun 2010 08:59:21 -0500 Message-Id: <1277474363-6534-1-git-send-email-ryanh@us.ibm.com> Subject: [Qemu-devel] [PATCH v3 0/2] Add virtio-blk support to persistent-storage rules List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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