All of lore.kernel.org
 help / color / mirror / Atom feed
From: Muli Ben-Yehuda <muli@il.ibm.com>
To: Alexander Graf <agraf@suse.de>
Cc: Orit Wasserman <oritw@il.ibm.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	Ben-Ami Yassour1 <BENAMI@il.ibm.com>,
	Abel Gordon <ABELG@il.ibm.com>,
	"aliguori@us.ibm.com" <aliguori@us.ibm.com>,
	"mmday@us.ibm.com" <mmday@us.ibm.com>
Subject: Re: Nested VMX support - kernel v1
Date: Thu, 3 Sep 2009 09:01:01 +0300	[thread overview]
Message-ID: <20090903060101.GF7107@il.ibm.com> (raw)
In-Reply-To: <57457A78-AAD8-4243-9778-F08B31F485E3@suse.de>

On Wed, Sep 02, 2009 at 05:57:39PM +0200, Alexander Graf wrote:
>
> Am 02.09.2009 um 17:38 schrieb oritw@il.ibm.com:
>
>> The following patches implement nested VMX support. The patches
>> enable a guest to use the VMX APIs in order to run its own nested
>> guest (i.e., enable running other hypervisors which use VMX under
>> KVM).
>
> Copl! Great job here. I was expecting vmcs load/stores to kill
> performance, but apparently I was wrong. How did you get those fast?

Are you asking about vmptrld (switching the VMCS's) or the costs of
trapping vmread/vmwrites?

>> The current patches support running Linux under a nested KVM using
>> shadow page table (with bypass_guest_pf disabled).
>
> What is keeping you from running the other hypervisors, guests?

A simple matter of programming (or more accurately, debugging). There
are no fundamental limitations that preclude running other hypervisors
or multiple guests, but we've been concentrating on getting a single
hypervisor (both KVM and VMware) performing well first.

>> SMP support was fixed.  Reworking EPT support to mesh cleanly with
>> the current shadow paging design per Avi's comments is a
>> work-in-progress.
>>
>> The current patches only support a single nested hypervisor
>
> Why?

See above---no fundamental limitation---but needs more work. Bug
reports happily accepted, patches even more so :-)

>> , which can only run a single guest (multiple guests are work in
>> progress). Only 64-bit nested hypervisors are supported.
>>
>> Additional patches for running Windows under nested KVM, and Linux
>> under nested VMware server(!),
>
> GSX or ESX? With ESX I was running into TSC timing issues because
> ESX didn't like the fact it got preempted :-).

GSX. I expect the issues you've run into are not SVM specific, so
likely they'll need to be address for VMX as well.

> How about Hyper-V and Xen?

We haven't tried them.

> Again, great job and congratulations on making this work!

Thank you, your patches were very useful!

Cheers,
Muli
-- 
Muli Ben-Yehuda | muli@il.ibm.com | +972-4-8281080
Manager, Virtualization and Systems Architecture
Master Inventor, IBM Haifa Research Laboratory

  reply	other threads:[~2009-09-03  6:01 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-02 15:38 Nested VMX support - kernel v1 oritw
2009-09-02 15:38 ` [PATCH 1/6] Nested VMX patch 1 implements vmon and vmoff oritw
2009-09-02 15:38   ` [PATCH 2/6] Nested VMX patch 2 implements vmclear oritw
2009-09-02 15:38     ` [PATCH 3/6] Nested VMX patch 3 implements vmptrld and vmptrst oritw
2009-09-02 15:38       ` [PATCH 2/2] Nested VMX patch 4 implements vmread and vmwrite oritw
2009-09-02 15:38         ` [PATCH 5/6] Nested VMX patch 5 implements vmlaunch and vmresume oritw
2009-09-02 21:38           ` Avi Kivity
2009-09-03 14:53             ` Orit Wasserman
2009-09-06  9:29               ` Avi Kivity
2009-09-06 13:38                 ` Orit Wasserman
2009-09-02 20:15         ` [PATCH 2/2] Nested VMX patch 4 implements vmread and vmwrite Avi Kivity
2009-09-03 14:26           ` Orit Wasserman
2009-09-02 20:05       ` [PATCH 3/6] Nested VMX patch 3 implements vmptrld and vmptrst Avi Kivity
2009-09-03 14:25         ` Orit Wasserman
2009-09-06  9:25           ` Avi Kivity
2009-09-06 13:36             ` Orit Wasserman
2009-09-06 13:52               ` Avi Kivity
2009-09-06 16:55                 ` Orit Wasserman
2009-09-06 19:10                   ` Avi Kivity
2009-09-02 19:38     ` [PATCH 2/6] Nested VMX patch 2 implements vmclear Avi Kivity
2009-09-03 13:54       ` Orit Wasserman
2009-09-02 19:34   ` [PATCH 1/6] Nested VMX patch 1 implements vmon and vmoff Avi Kivity
2009-09-03 12:34     ` Orit Wasserman
2009-09-03 13:39       ` Avi Kivity
2009-09-03 14:54         ` Orit Wasserman
2009-09-02 15:57 ` Nested VMX support - kernel v1 Alexander Graf
2009-09-03  6:01   ` Muli Ben-Yehuda [this message]
2009-09-03  7:29     ` Alexander Graf
2009-09-03  9:53       ` Muli Ben-Yehuda
2009-09-06 19:28         ` Anthony Liguori
2009-09-02 21:39 ` Avi Kivity

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=20090903060101.GF7107@il.ibm.com \
    --to=muli@il.ibm.com \
    --cc=ABELG@il.ibm.com \
    --cc=BENAMI@il.ibm.com \
    --cc=agraf@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=mmday@us.ibm.com \
    --cc=oritw@il.ibm.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.