[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH] Add serial number support for virtio_blk
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] Re: [PATCH] Add serial number support for virtio_blk |
Date: |
Mon, 22 Jun 2009 21:42:16 +0100 |
User-agent: |
Mutt/1.4.1i |
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 :|
[Qemu-devel] Re: [PATCH] Add serial number support for virtio_blk, john cooper, 2009/06/23