WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Implementation choices, XEN or KVM?

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] Implementation choices, XEN or KVM?
From: Andre Przywara <andre.przywara@xxxxxxx>
Date: Tue, 28 Jun 2011 14:53:23 +0200
Cc: Liu John <bradevuu@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Wei Liu <liuw@xxxxxxxxx>
Delivery-date: Tue, 28 Jun 2011 05:58:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110627104057.GJ17634@xxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTi=j7dWC3vxPtymMHPpoYRyCORxcqQ@xxxxxxxxxxxxxx> <20110627084607.GE17634@xxxxxxxxxxxxxxxxxxxxxxx> <BANLkTikQ+oDd_xt5FMAa6TckYWit2BPB1A@xxxxxxxxxxxxxx> <20110627104057.GJ17634@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Lightning/1.0b2 Thunderbird/3.1.9
On 06/27/2011 12:40 PM, Tim Deegan wrote:
At 18:30 +0800 on 27 Jun (1309199414), Wei Liu wrote:
On Mon, Jun 27, 2011 at 4:46 PM, Tim Deegan<Tim.Deegan@xxxxxxxxxx>  wrote:
At 16:56 -0400 on 24 Jun (1308934602), Liu John wrote:
I will do research experiment using hypervisor. But I have not decided the
platform; both XEN and KVM work for me(my work is about MMU, specifically
shadow page tables). Though I prefer XEN, it seems XEN development and
debugging are not easy. For example, every time you add some code in
hypervisor, you have to restart computer.

That's true.   However I usually find that when I make a mistake in
hypervisor code the computer needs to be rebooted anyway. :)
AIUI Xen can run under Qemu so the reboot time is not that long.


Just out of my curiosity.

Does Xen inside QEMU supports HVM guest?

I haven't tried it.  ISTR seeing patches for SVM support, at least, on
qemu-devel a while back.  So: maybe. :)

As Tim said, QEMU implements some basic SVM emulation. But as this is quite old and nobody seemed to care, it is currently broken, AFAICT. At best it is not complete anyway and so probably unusable.

But you can use the nested SVM support in KVM. Though the primary test vehicle is KVM on KVM ;-), we also tests Xen as a guest from time to time and it worked. So just use QEMU and say --enable-kvm or use qemu-kvm on an AMD machine and you can run Xen with HVM guests inside KVM.

Regards,
Andre.

--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany


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