From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34777 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMnEx-0002rB-L4 for qemu-devel@nongnu.org; Thu, 10 Jun 2010 15:16:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMnEk-0001gq-Ou for qemu-devel@nongnu.org; Thu, 10 Jun 2010 15:16:23 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:47790) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMnEk-0001gY-G2 for qemu-devel@nongnu.org; Thu, 10 Jun 2010 15:16:22 -0400 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by e32.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o5AJ8rYq028966 for ; Thu, 10 Jun 2010 13:08:53 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5AJGJs4142682 for ; Thu, 10 Jun 2010 13:16:19 -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 o5AJGIIl018254 for ; Thu, 10 Jun 2010 13:16:18 -0600 From: Ryan Harper Date: Thu, 10 Jun 2010 14:16:12 -0500 Message-Id: <1276197375-4524-1-git-send-email-ryanh@us.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/3] 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 , 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