From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSevn-0000YF-OE for qemu-devel@nongnu.org; Thu, 29 Jan 2009 17:00:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSevl-0000Wh-Gb for qemu-devel@nongnu.org; Thu, 29 Jan 2009 17:00:14 -0500 Received: from [199.232.76.173] (port=51491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSevl-0000WP-7N for qemu-devel@nongnu.org; Thu, 29 Jan 2009 17:00:13 -0500 Received: from wf-out-1314.google.com ([209.85.200.173]:22885) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSevk-0002xC-LP for qemu-devel@nongnu.org; Thu, 29 Jan 2009 17:00:12 -0500 Received: by wf-out-1314.google.com with SMTP id 27so143132wfd.4 for ; Thu, 29 Jan 2009 14:00:11 -0800 (PST) MIME-Version: 1.0 Date: Thu, 29 Jan 2009 17:00:11 -0500 Message-ID: From: Jule Slootbeek Content-Type: multipart/alternative; boundary=000e0cd17d6e5caf680461a6362c Subject: [Qemu-devel] virtio_blk unique device ID Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --000e0cd17d6e5caf680461a6362c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit All, I was recently testing the workings of virtio to provision SAN block devices to a domain, which worked great! However, i could not find a way to find the UID of a virto_blk device. The scenario I had created was the following. a LUN provisioned to my KVM (kvm-83) hypervisor over two paths, both paths mapped to my domain using virtio_blk. When configuring multipath-tools in the domain I could not find a way to find the UID of the LUN in order to create the multipath config. On a SCSI device, I would use the /lib/udev/scsi_id tools to discover this ID. I am using libvir/qemu 0.5.1 in Ubuntu Jaunty Alpha-3 as hypervisor and virtual machine. Does the virtio_blk driver provide a UID to its devices, and is there a way to get this ID in userspace? kind regards, --000e0cd17d6e5caf680461a6362c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable All,
I was recently testing the workings of virtio to provision SAN bloc= k devices to a domain, which worked great! However, i could not find a way = to find the UID of a virto_blk device. The scenario I had created was the f= ollowing. a LUN provisioned to my KVM (kvm-83) hypervisor over two paths, b= oth paths mapped to my domain using virtio_blk. When configuring multipath-= tools in the domain I could not find a way to find the UID of the LUN in or= der to create the multipath config. On a SCSI device, I would use the /lib/= udev/scsi_id tools to discover this ID. I am using libvir/qemu 0.5.1 in Ubu= ntu Jaunty Alpha-3 as hypervisor and virtual machine.
Does the virtio_blk driver provide a UID to its devices, and is there a way= to get this ID in userspace?

kind regards,
--000e0cd17d6e5caf680461a6362c--