Re: [PATCH] support identification of Xen virtual block devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-04-16 at 22:17 +0200, Kay Sievers wrote:
> On Thu, Apr 16, 2009 at 20:37, Ian Campbell <ijc@xxxxxxxxxxxxxx> wrote:
> >
> > * Add xenvb_id utility to identify Xen disk and CD-ROM devices.
> 
> What's the reason xen optical drives don't behave like real drives,
> and need a xen specific tool? That sounds rather odd,

They aren't proper SCSI devices so you can't do SCSI inquiry like
cdrom_id wants, the properties you can query from a Xen vbd are very
basic, basically just TYPE=disk|cd.

I suppose I could make the SCSI INQ stuff in cdrom_id optional, since
the CDROM_GET_CAPABILITY ioctl is implemented. Would that be preferred?
It would be essentially making the stuff added in
fd7a285e6293fddd3fbc68b519dcd367adeb72c4 optional.

> > * Add support to path_id for Xen vbd devices
> 
> Applied this part.

Thanks,
Ian.

-- 
Ian Campbell

BOFH excuse #350:

paradigm shift...without a clutch

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux