[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



> 1. I am not sure what is missing in the Xen hypervisor which will be needed
> by a running VMware module.   But I think it can be specifically patched
> for Vmware.

Well, Xen lacks any form of disk or network IO that VMware could use to 
provide virtual devices to its guests - that's all done by dom0.  dom0 really 
provides all the facilities VMware would need *except* the need to run in 
ring 0.  See below...

> > So theoretically it should be possible to run multiple  
> emulator (for robustness) like VirtualPC, VMWare, Xen all alongside one
> another. What is needed is just another hyper-hypervisor to manage these
> multiple "HYPERVISOR".

As Daniel mentioned, you might be able to use Xen as the hyper-hypervisor if 
you have HVM-capable hardware.  It may be possible to get VMware running in a 
Xen HVM domain which has a "virtual ring 0" to keep VMware happy.

HVM guests can't themselves use the HVM hardware, however.  This is because 
Xen doesn't (yet) provide emulation for it.  So you can't run an HVM guest 
inside a Xen running in an HVM guest.

> 2. As for Linux running in Ring1 running a VMware module, I hope it could
> be done in future.   What is missing in the current XEN hypervisor that
> forbids the guest Linux from running VMware?   Logic is that in software
> anything can be done (ie, if hardware is the limitation, then simulate the
> hardware). Eg, Look at Joanna's New Blue Pill implementation -
> http://bluepillproject.org/ where nested hypervisor is supported.

The VMware module really expects to be run in ring0 directly, so that it can 
bang at the real physical hardware in order to work its magic.  If run in a 
Xen paravirtualised guest at ring 1, that code would cause General Protection 
Faults and crash the guest...  However, appropriate emulations *is* added by 
the combination of Xen and some HVM-capable hardware: VMware should work in 
an HVM guest.

HTH,
Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.