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 Mon 04 Aug 2008 21:50:50 +0200, a écrit :
>>>>  +       mode   = O_RDONLY;
>>>>  +       qflags = BDRV_O_RDONLY;
>>>>  +       info  |= VDISK_READONLY | VDISK_REMOVABLE | VDISK_CDROM;
>>> Does this mean that all read-only disks are assumed to be CDROMs or
>>> that all removable disks are read-only?
>> I'll double-check, but I think there is no media=[disk|cdrom] indicator
>> in xenstore.
> 
> There is: the info node, which is an OR of the
> VDISK_CDROM/REMOVABLE/READONLY flags.

Who sets that node?  Backend driver or xend?

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>