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 0/14] Nested Virtualization: Overview

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/14] Nested Virtualization: Overview
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Tue, 17 Aug 2010 13:30:03 +0100
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Delivery-date: Tue, 17 Aug 2010 05:31:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C8902606.1E12D%keir.fraser@xxxxxxxxxxxxx>
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: <201008171233.30154.Christoph.Egger@xxxxxxx> <C8902606.1E12D%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
At 11:41 +0100 on 17 Aug (1282045318), Keir Fraser wrote:
> On 17/08/2010 11:33, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:
> > Tim and Keir made clear they don't want to have two implementations after
> > I submitted my patch series the *first* time.
> 
> I think maybe this is an argument over two different things. To be clear we
> want to support VMX-on-VMX and SVM-on-SVM. I assume this is what Christoph
> means by HVM-on-HVM: any-like-on-like. In which case there is no
> disagreement here.
> 
> Now, separately there is a debate to be had on how much code can be shared
> in HVM-on-HVM, given the big differences between VMX and SVM. I would guess
> that there will be at least things in the area of nested shadow and nested
> HAP that can be shared, for example. Probably there is other stuff too. The
> question is to what degree do we pursue that now rather than get divergent
> stuff in tree and then go after it later. My mind isn't totally made up on
> that; I don't know about Tim's.

The general tone of Christoph's latest patchset seems about right to me:
the concept of a VCPU being in nested HVM mode or not, the control
interface, and the bulk of the interrupt/exception injection logic seem
like they should be common from day one, unless there's a particular
reason not to.  The details of exactly how the nested VMC[BS] is
accessed and updated are of course arch-specific.

The two HAP-on-HAP designs are quite different but since all the EPT
code is already separate from the other p2m code that's OK.
Shadow-on-shadow and shadow-on-HAP ought to just work[tm] without any
extra moving parts.

I've no strong feelings about the details of the interface between the
common and the arch-specific code, but it seems like with a bit of
flexibility on both sides it could be made suitable for everyone.

Cheers,

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, XenServer Engineering
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

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

<Prev in Thread] Current Thread [Next in Thread>