public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Jun Koi <junkoi2004-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: KVM & Xen coexist?
Date: Wed, 08 Nov 2006 11:32:06 +0200	[thread overview]
Message-ID: <4551A416.1050701@qumranet.com> (raw)
In-Reply-To: <fdaac4d50611080124q344c9cdei22e02a361c11f7f8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

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:

- 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).

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
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

  parent reply	other threads:[~2006-11-08  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08  9:24 KVM & Xen coexist? Jun Koi
     [not found] ` <fdaac4d50611080124q344c9cdei22e02a361c11f7f8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-08  9:32   ` Avi Kivity [this message]
     [not found]     ` <4551A416.1050701-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-08 13:43       ` Arnd Bergmann
     [not found]         ` <200611081443.22464.arnd-r2nGTMty4D4@public.gmane.org>
2006-11-08 13:46           ` Muli Ben-Yehuda
     [not found]             ` <20061108134629.GA4988-k73YwwB0fHlWk0Htik3J/w@public.gmane.org>
2006-11-08 13:50               ` Arnd Bergmann
2006-11-10  2:27       ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4551A416.1050701@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=junkoi2004-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox