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: Samuel Thibault
Subject: Re: [Xen-devel] Re: [Qemu-devel] [PATCH 5/7] xen: add block device backend driver.
Date: Mon, 4 Aug 2008 22:34:56 +0100
User-agent: Mutt/1.5.12-2006-07-14

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




reply via email to

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