[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080305132100.GB11701@elte.hu>
Date: Wed, 5 Mar 2008 14:21:02 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Jiri Kosina <jkosina@...e.cz>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Pavel Roskin <proski@....org>, Zan Lynx <zlynx@....org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Jon Masters <jcm@...masters.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: [PATCH 2.6.25] module: allow ndiswrapper to use GPL-only
symbols
* Jiri Kosina <jkosina@...e.cz> wrote:
> 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.
by the time it's implemented and trickles into distributions the
majority of PCs will have virtualization extensions.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists