From: "Daniel P. Berrange" <berrange@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: john cooper <john.cooper@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [PATCH] Add serial number support for virtio_blk
Date: Mon, 22 Jun 2009 21:42:16 +0100 [thread overview]
Message-ID: <20090622204216.GA25237@redhat.com> (raw)
In-Reply-To: <20090622203851.GE15865@redhat.com>
On Mon, Jun 22, 2009 at 11:38:51PM +0300, Gleb Natapov wrote:
> On Mon, Jun 22, 2009 at 03:28:40PM -0500, Anthony Liguori wrote:
> > Gleb Natapov wrote:
> >> On Mon, Jun 22, 2009 at 02:05:12PM -0500, Anthony Liguori wrote:
> >>
> >>> I also noticed that if=scsi,serial=XXX doesn't seem to do anything useful.
> >>>
> >>>
> >> What makes you think so?
> >>
> >
> > It doesn't seem to change /dev/disk/by-id/PATH
> >
> I thought you mean that there is no way to get it from guest hence the
> question. I don't know what Linux uses for /dev/disk/by-id/PATH, but
> Windows retrieve disk serial using the scsi command that QEMU
> implements.
It is done by udev rules, which call out to a 'scsi_id' command. On a
Fedora 11 host /lib/udev/rules.d/60-persistent-storage.rules
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
next prev parent reply other threads:[~2009-06-22 20:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-22 18:26 [Qemu-devel] [PATCH] Add serial number support for virtio_blk john cooper
2009-06-22 18:46 ` [Qemu-devel] " Anthony Liguori
2009-06-23 12:42 ` john cooper
2009-06-22 19:05 ` Anthony Liguori
2009-06-22 19:30 ` Gleb Natapov
2009-06-22 20:28 ` Anthony Liguori
2009-06-22 20:38 ` Gleb Natapov
2009-06-22 20:42 ` Daniel P. Berrange [this message]
2009-06-23 8:22 ` Gleb Natapov
2009-06-23 12:44 ` john cooper
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=20090622204216.GA25237@redhat.com \
--to=berrange@redhat.com \
--cc=gleb@redhat.com \
--cc=john.cooper@redhat.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).