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] [PATCH 00/13] Nested Virtualization: Overview

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH 00/13] Nested Virtualization: Overview
From: Shriram Rajagopalan <rshriram@xxxxxxxxx>
Date: Wed, 1 Dec 2010 08:57:28 -0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Bruce Edge <bruce.edge@xxxxxxxxx>
Delivery-date: Wed, 01 Dec 2010 08:58:55 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=lbuqYflWYGCKbtvingyLt/qaXKwAKWlDwbFwh3pKQL4=; b=BfzkORgRgCQOsAmRNcAsYsm5ZiAXfpiZ3EiarO8GeHxqRZH/qZOZiMaQwoMOEDAJ0d hV3RMjxUzC+71JmUYfma/o1ImvTCyXyhPdnl1ryIcOAukWf4OLO56yQPVzlIA0IRQVNE /GwHvawLwZc+HnjYYNEFphvWdroDLBgumZv+U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GR9YEHzkMONftwi6ZGka4Lm8vMqEQvPZ/o7AUbExjLQY14C2pIi75uYcNaxJIPKII3 q9Am/T7gGvCdShmK3ysuXP13vdAeJVQPE3u1uhpDs9C0UDXppO0U/Wz2xEVI09dv3LZu Luavq5Mzn5exumc7rxOvR8ZEJrP8Pu8cmKbSU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201012011008.51498.Christoph.Egger@xxxxxxx>
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: <201011121939.17994.Christoph.Egger@xxxxxxx> <AANLkTimq=n61Ah60iuSspe2ME1c4Y5YVKU-m_vhuiKHt@xxxxxxxxxxxxxx> <201012011008.51498.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Following up on Bruce's question..
 What do you mean by VM spanning multiple physical machines?
 do you mean the ability to migrate VMs across hypervisor levels, across one or more machines?

shriram
On Wed, Dec 1, 2010 at 1:08 AM, Christoph Egger <Christoph.Egger@xxxxxxx> wrote:
On Tuesday 30 November 2010 18:20:40 Bruce Edge wrote:
> On Fri, Nov 12, 2010 at 10:39 AM, Christoph Egger
> <Christoph.Egger@xxxxxxx<mailto:Christoph.Egger@xxxxxxx>> wrote:
>
> Hi!
>
> This patch series brings Nested Virtualization to Xen.
> This is the sixth patch series. Improvements to the
> previous patch submission:
>
> - Move GIF definition into SVM
> - Move VMEXIT emulation into SVM
> - Introduce hooks for getting host/guest cr3 for use with hap-on-hap
>   per proposal from Eddie Dong
> - Moved fields from struct nestedhvm into SVM
> - Renamed struct nestedhvm to struct nestedvcpu
> - Reworked VMRUN and VMEXIT emulation. It uses a defered emulation
>   mechanism that makes interrupt handling more efficient and is closer
>   to what VMX is doing
> - VMCB is peristent mapped. Only remap the VMCB when l1 guest
>   changes the address.
>
>
> The patch series:
>
> patch 01: add nestedhvm guest config option to the tools.
>                  This is the only one patch touching the tools
> patch 02: Add data structures for nested virtualization.
> patch 03: add nestedhvm function hooks.
> patch 04: The heart of nested virtualization.
> patch 05: Allow switch to paged real mode during vmrun emulation.
>                  Emulate cr0 and cr4 when guest does not intercept them
>                  (i.e. Hyper-V/Windows7, KVM)
> patch 06: When injecting an exception into nested guest, inject
>                  #VMEXIT into the guest if intercepted.
> patch 07: Allow guest to enable SVM in EFER only on AMD.
> patch 08: Handle interrupts (generic part).
> patch 09: SVM specific implementation for nested virtualization.
> patch 10: Handle interrupts (SVM specific).
> patch 11: The piece of code that effectively turns on nested
> virtualization. patch 12: Move dirty_vram from struct hvm_domain to struct
> p2m_domain. This change is the first part from a larger not-yet-ready
> change where the vram and log_dirty tracking is teached to work on per p2m.
> patch 13: Handle nested pagefault to enable hap-on-hap and handle
>                  nested guest page-table-walks to emulate instructions
>                  the guest does not intercept (i.e. WBINVD with Windows 7).
>
>
> --
> ---to satisfy European Law for business letters:
> Advanced Micro Devices GmbH
> Einsteinring 24, 85609 Dornach b. Muenchen
> Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
> Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
> Registergericht Muenchen, HRB Nr. 43632
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx<mailto:Xen-devel@xxxxxxxxxxxxxxxxxxx>
> http://lists.xensource.com/xen-devel
>
>
> I'd like to ask a general question on nested virtualization. Can an L1 or
> L>1 VM span multiple physical machines?

I guess you mean virtual machines here. The answer is yes.

> I'm guessing not from the pdf,
> http://lists.xensource.com/archives/html/xen-devel/2010-04/pdfsVHwQIeZLB.pd
>f, but I wanted to ask and confirm because if so, this would be a fantastic
> way to segregate individual customer infrastructures in a cloud
> environment.

I do not consider the patch series production stable but I would be glad when
you can help with testing.

Christoph


--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632


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



--
perception is but an offspring of its own self
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>