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

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



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.

Samuel

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.