From: Mark Williamson Subject: Re: Xen as a kernel module Date: Thu, 27 Jan 2005 13:30:27 +0000 Message-ID: <200501271330.27787.maw48@cl.cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net Cc: Steven Hand , Jacob Gorm Hansen List-Id: xen-devel@lists.xenproject.org On Wednesday 26 January 2005 08:41, Steven Hand wrote: > >with Xen increasingly depending on Linux for bootstrap, drivers, packet > >filtering etc., would it make sense to have the option of compiling Xen > >as a Linux kernel module, like in VMWare or coLinux? > > Huh? Which kind of vmware? Afaik the hosted (type II) versions of > vmware when running on a linux host have some modules which get installed > but the VMM itself is not a module. And coLinux is basically a windows > device driver which does task switching - a very clever and useful piece > of software but not really a Linux kernel module. IIRC, the coLinux device driver is available both for Windows and as a Linux kernel module. The same Linux kernel can then run in either environment. > Maybe - I guess it depends on what you mean. If you have: > > [ VM1 ] [ VM2 ] .... [ VMN ] > > [ new type II version of Xen ] > > [ linux kernel ] > > [ hardware ] > > then you require a way for VMx to communicate the new Xen thing, > which then needs to syscall into the linux kernel. I'm not sure > what VMx<->Xen comms would look like, or how it would perform. If > you retain safety it seems like you might end up with the performance > of UML, which if you go for 'high performance' then you may need to > turn off the safety catch. Couldn't we have the "Xen module" hijack the interrupt-handling of the host kernel (like the VMWare and coLinux modules themselves do AFAIK) in order to handle hypercalls directly? Device communications could be handled by backend / frontend drivers essentially the same as the ones we use for vanilla Xen. Cheers, Mark ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl