Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935500AbYCDXci (ORCPT ); Tue, 4 Mar 2008 18:32:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S935355AbYCDX1e (ORCPT ); Tue, 4 Mar 2008 18:27:34 -0500 Received: from twin.jikos.cz ([213.151.79.26]:57183 "EHLO twin.jikos.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935384AbYCDX1c (ORCPT ); Tue, 4 Mar 2008 18:27:32 -0500 Date: Wed, 5 Mar 2008 00:25:58 +0100 (CET) From: Jiri Kosina X-X-Sender: jikos@twin.jikos.cz To: Ingo Molnar cc: Linus Torvalds , Pavel Roskin , Zan Lynx , linux-kernel , Jon Masters , Rusty Russell , Greg Kroah-Hartman Subject: Re: [PATCH 2.6.25] module: allow ndiswrapper to use GPL-only symbols In-Reply-To: <20080304205117.GA21803@elte.hu> Message-ID: References: <1204305609.21719.16.camel@dv> <1204313978.2316.8.camel@dv> <20080229211513.GI27212@elte.hu> <1204324265.2316.70.camel@dv> <20080303105752.GA23594@elte.hu> <20080304003723.z79pcavdk4wgoc44@webmail.spamcop.net> <20080304125744.GF29777@elte.hu> <20080304205117.GA21803@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 24 On Tue, 4 Mar 2008, Ingo Molnar wrote: > > Ingo, i's simply not possible to put ndiswrapper in user-space sanely. > > Drivers are drivers. They'll want (shared) interrupts, they want DMA, > > they want to do things like cli/sti. > yeah, i agree that putting it into userspace is quite insane. > it might possible to do it halfways sanely via existing arch/x86/kvm/ > infrastructure though. VMX/SVM context will properly emulate the IRQ > flag so cli/sti will work fine, and as long as DMA is properly > quarantined via an iommu it might even not corrupt the rest of the > system. This definitely could be a [hackish] way to go. The remarkable drawback is that it will not work on CPUs without virtualization extensions. -- Jiri Kosina SUSE Labs -- 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/