This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Can VMWare modules run alongside in XEN kernel?

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Can VMWare modules run alongside in XEN kernel?
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Tue, 14 Aug 2007 02:40:12 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Peter Teoh <tthtlc@xxxxxxxxxxxxxx>
Delivery-date: Mon, 13 Aug 2007 18:41:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200708140220.43981.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <007b01c7d8b1$0c3ffe80$2701a8c0@lifeisshort> <200708140204.43163.mark.williamson@xxxxxxxxxxxx> <20070814011526.GB8454@xxxxxxxxxx> <200708140220.43981.mark.williamson@xxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Tue, Aug 14, 2007 at 02:20:43AM +0100, Mark Williamson wrote:
> > On Tue, Aug 14, 2007 at 02:04:43AM +0100, Mark Williamson wrote:
> > > > I would like to have VMware modules running in the XEN kernel, NOT in
> > > > DOM0 kernel but outside at the hypervisor level, is that possible?
> > >
> > > Nope, afraid that can't work.  Xen doesn't provide all the facilities
> > > that a Linux kernel does, so it's not able to support Linux modules at
> > > all.  As you noticed, it also doesn't allow loadable modules...
> >
> > Urm, sure it does - whether the xen kernel allows modules or not is just a
> > KConfig setting. The XenSource kernel builds may not allow loadable modules
> > but all Fedora Xen kernels are fully modular. You're right that VMware
> > won't load/work, but that's a separate issue to the question of loadable
> > module support in general.
> That's true, but the OP was asking about running the modules in Xen itself 
> "at 
> the hypervisor level" and not in the dom0 Linux kernel.  Xen used to support 
> Linuxy APIs for modules, but even those have mostly gone now, so it's 
> definitely not doable.

Sorry, yes, my mistake - mis-reading the earlier part of the thread.

> > > The VMware modules really both need a) to run in ring0 (satisfied by your
> > > suggestion) and to b) be supported by a full host Linux kernel.
> > > Unfortunately, with Linux running in ring 1, whatever you do you are not
> > > going to be able to satisfy both of these :-(
> >
> > Might be able to run VMware inside a HVM/fullyvirt guest.
> Yes, that's true :-)  I can run Xen inside HVM already - regularly, in fact - 
> but never tried VMware.

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

Xen-devel mailing list