qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jule Slootbeek <jsslists@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] virtio_blk unique device ID
Date: Thu, 29 Jan 2009 17:00:11 -0500	[thread overview]
Message-ID: <bf1361bc0901291400w25265104g3845702fc19bcc31@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

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,

[-- Attachment #2: Type: text/html, Size: 792 bytes --]

             reply	other threads:[~2009-01-29 22:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29 22:00 Jule Slootbeek [this message]
2009-01-29 22:47 ` [Qemu-devel] virtio_blk unique device ID Ryan Harper
2009-01-30 14:00   ` Jule Slootbeek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf1361bc0901291400w25265104g3845702fc19bcc31@mail.gmail.com \
    --to=jsslists@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).