From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Nested VMX support - kernel v1 Date: Thu, 03 Sep 2009 00:39:29 +0300 Message-ID: <4A9EE611.3090704@redhat.com> References: <1251905916-2834-1-git-send-email-oritw@il.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, benami@il.ibm.com, muli@il.ibm.com, abelg@il.ibm.com, aliguori@us.ibm.com, mmday@us.ibm.com To: oritw@il.ibm.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41553 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbZIBVjE (ORCPT ); Wed, 2 Sep 2009 17:39:04 -0400 In-Reply-To: <1251905916-2834-1-git-send-email-oritw@il.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/02/2009 06:38 PM, oritw@il.ibm.com wrote: > 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). The current patches support running > Linux under a nested KVM using shadow page table (with bypass_guest_pf > disabled). 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, 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(!), are currently running in the lab. We are in the process of > forward-porting those patches to -tip. > > This patches were written by: > Orit Wasserman, oritw@il.ibm.com > Ben-Ami Yassor, benami@il.ibm.com > Abel Gordon, abelg@il.ibm.com > Muli Ben-Yehuda, muli@il.ibm.com > > With contributions by: > Anthony Liguori, aliguori@us.ibm.com > Mike Day, mmday@us.ibm.com > > This work was inspired by the nested SVM support by Alexander Graf and Joerg > Roedel. > Changes since v1: > SMP support. > Split into 6 smaller patches. > Use nested_vmx structure for nested parameters. > Use Array for shadow VMCS offsets. > Thanks for splitting, much easier to review. As I come to understand the code, you'll get better reviews. Patch 6 didn't make it to the list. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.