qemu-devel
[Top][All Lists]
Advanced

[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 backe


From: Gerd Hoffmann
Subject: Re: [Xen-devel] Re: [Qemu-devel] [PATCH 5/7] xen: add block device backend driver.
Date: Tue, 05 Aug 2008 08:52:26 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]