Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030207AbWCWITn (ORCPT ); Thu, 23 Mar 2006 03:19:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030209AbWCWITn (ORCPT ); Thu, 23 Mar 2006 03:19:43 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:1411 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S1030207AbWCWITm (ORCPT ); Thu, 23 Mar 2006 03:19:42 -0500 Subject: RE: [RFC PATCH 35/35] Add Xen virtual block device driver. From: Arjan van de Ven To: Ian Pratt Cc: Anthony Liguori , Chris Wright , virtualization@lists.osdl.org, xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org, Ian Pratt , ian.pratt@cl.cam.ac.uk In-Reply-To: References: Content-Type: text/plain Date: Thu, 23 Mar 2006 09:19:31 +0100 Message-Id: <1143101972.3147.11.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 24 On Wed, 2006-03-22 at 16:52 +0000, Ian Pratt wrote: > > This is another thing that has always put me off. The > > virtual block device driver has the ability to masquerade as > > other types of block devices. It actually claims to be an > > IDE or SCSI device allocating the appropriate major/minor numbers. > > > > This seems to be pretty evil and creating interesting failure > > conditions for users who load IDE or SCSI modules. I've seen > > it trip up a number of people in the past. I think we should > > only ever use the major number that was actually allocated to us. > > We certainly should be pushing everyone toward using the 'xdX' etc > devices that are allocated to us. yes but you are faking something stupid ;) You aren't ide, you don't take the IDE ioctls. So please just nuke this bit.. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/