WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [Qemu-devel] [PATCH 5/7] xen: add block device backe

Samuel Thibault wrote:
> Gerd Hoffmann, le Tue 05 Aug 2008 08:52:26 +0200, a écrit :
>>> There is: the info node, which is an OR of the
>>> VDISK_CDROM/REMOVABLE/READONLY flags.
>> Who sets that node?  Backend driver or xend?
> 
> backend, see linux/driver/xen/blkback/xenbus.c 

Hmm, ok.

mode="r" (in backend directory) means readonly, ok.
device-type="cdrom" (backend dir too) means cdrom, ok.

fixed up these.

removable can't be indicated to the backend via xenstore?

ignoring that for now.

btw: Looks like blktap doesn't set any VDISK_* flags?

cheers,
  Gerd

-- 
http://kraxel.fedorapeople.org/xenner/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>