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 10/14] Nested Virtualization: svm specific implem

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH 10/14] Nested Virtualization: svm specific implementation
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Tue, 17 Aug 2010 17:57:55 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 17 Aug 2010 09:59:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201008171749.55377.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: <201008051704.03074.Christoph.Egger@xxxxxxx> <20100809125731.GB13291@xxxxxxxxxxxxxxxxxxxxxxx> <201008171749.55377.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
At 16:49 +0100 on 17 Aug (1282063795), Christoph Egger wrote:
> > Can you explain why we shouldn't sync the vTPR and the vlapic state when
> > the guest is in nested mode?
> 
> When the vcpu is in guest mode then v->arch.hvm_svm.vmcb->vintr.fields.tpr
> represents the tpr of the l2 guest. The l2 guest is not allowed to touch the
> l1 guest's vTPR.

Hmmm.  I'm not sure I understand exactly what the hardware vTPR should
contain when the L2 is running; I'll have to think back about exactly
what the sync of vtpr <-> vlapic means and whether the L2 guest can
cause surprising things to happen by setting the vTPR.

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