All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@amd.com>
To: Tim Deegan <Tim.Deegan@citrix.com>
Cc: Liu John <bradevuu@gmail.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Wei Liu <liuw@liuw.name>
Subject: Re: Implementation choices, XEN or KVM?
Date: Tue, 28 Jun 2011 14:53:23 +0200	[thread overview]
Message-ID: <4E09CEC3.4080100@amd.com> (raw)
In-Reply-To: <20110627104057.GJ17634@whitby.uk.xensource.com>

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@citrix.com>  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

      reply	other threads:[~2011-06-28 12:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-24 20:56 Implementation choices, XEN or KVM? Liu John
2011-06-27  7:50 ` Andrew Cooper
2011-06-27  9:45   ` George Dunlap
2011-06-27  8:46 ` Tim Deegan
2011-06-27 10:25   ` James Harper
2011-06-27 10:30     ` Tim Deegan
2011-06-27 10:30   ` Wei Liu
2011-06-27 10:40     ` Tim Deegan
2011-06-28 12:53       ` Andre Przywara [this message]

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=4E09CEC3.4080100@amd.com \
    --to=andre.przywara@amd.com \
    --cc=Tim.Deegan@citrix.com \
    --cc=bradevuu@gmail.com \
    --cc=liuw@liuw.name \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.