Avi Kivity wrote:
> Jun Koi wrote:
>> hi,
>>
>> i guess this question should be in your FAQ: does KVM work with Xen?
>> in the other word, is it possible to run KVM on Xen machine? (i.e
>> loading KVM on Dom0 or DomU. obviously it does not work on DomU, but i
>> am not sure about Dom0 case).
>>   
> 
> Theoretically, you can run Xen for paravirtualization and kvm for full 
> virtualization.  Realistically, that's not trivial to accomplish:

It would be much more reasonable to do paravirtualization under Linux 
with something like lhype.  There was an announcement (although I never 
saw code) of a kernel module that could run Xen guests.

For all practical purposes, Xen's HVM support is already KVM under Xen. 
  Of course the Xen "version" of KVM has many more QEMU patches and has 
a lot of other fun stuff (like Xend/Xenstore--ugh).

> - Xen adds an additional addressing abstraction (machine addresses) that 
> kvm has to be taught about
> - kvm uses privileged instructions which cannot be executed by a Xen 
> guest (and would thus need assists)
> - VT returns to ring 0, and would need an assist to return to ring 1 
> where Linux (and kvm) lives
> - kvm wants to be pinned to a cpu while it's modifying VT state
> 
> Another option is to use a small subset of kvm to run paravirtualized 
> Xen guests on top of kvm (without Xen itself).

It would probably be more useful to run VMI guests (or to implement a 
set of paravirt_ops just for KVM).  The Xen guest ABI is awfully 
complicated.  The drivers would require a ton of userspace infrastructure.

Regards,

Anthony Liguori

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to