From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQKOa-0004rw-Al for qemu-devel@nongnu.org; Tue, 05 Aug 2008 07:08:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQKOX-0004po-4E for qemu-devel@nongnu.org; Tue, 05 Aug 2008 07:08:03 -0400 Received: from [199.232.76.173] (port=59620 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQKOW-0004pZ-Od for qemu-devel@nongnu.org; Tue, 05 Aug 2008 07:08:00 -0400 Received: from mx1.redhat.com ([66.187.233.31]:58904) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQKOV-0006OT-N5 for qemu-devel@nongnu.org; Tue, 05 Aug 2008 07:08:00 -0400 Message-ID: <48983488.6010207@redhat.com> Date: Tue, 05 Aug 2008 13:07:52 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Xen-devel] Re: [Qemu-devel] [PATCH 5/7] xen: add block device backend driver. References: <1217865045-10722-1-git-send-email-kraxel@redhat.com> <1217865045-10722-6-git-send-email-kraxel@redhat.com> <48975D9A.7070109@redhat.com> <20080804213456.GA4518@implementation> <4897F8AA.3060303@redhat.com> <20080805104751.GN4478@implementation.uk.xensource.com> In-Reply-To: <20080805104751.GN4478@implementation.uk.xensource.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault , Gerd Hoffmann , Blue Swirl , xen-devel@lists.xensource.com, qemu-devel@nongnu.org Samuel Thibault wrote: > Gerd Hoffmann, le Tue 05 Aug 2008 08:52:26 +0200, a =E9crit : >>> There is: the info node, which is an OR of the >>> VDISK_CDROM/REMOVABLE/READONLY flags. >> Who sets that node? Backend driver or xend? >=20 > backend, see linux/driver/xen/blkback/xenbus.c=20 Hmm, ok. mode=3D"r" (in backend directory) means readonly, ok. device-type=3D"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 --=20 http://kraxel.fedorapeople.org/xenner/