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] Fwd: [PATCH 0/18] Nested Virtualization: Overview

To: Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Fwd: [PATCH 0/18] Nested Virtualization: Overview
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 15 Apr 2010 15:57:40 +0100
Cc:
Delivery-date: Thu, 15 Apr 2010 08:03:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201004151520.31527.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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acrcno3ajsJNNqeSQX+DisvxcNCWyQADXCZP
Thread-topic: [Xen-devel] Fwd: [PATCH 0/18] Nested Virtualization: Overview
User-agent: Microsoft-Entourage/12.24.0.100205
On 15/04/2010 14:20, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

> patch 03: change local_event_delivery_* to take vcpu argument.
>                   This prevents spurious xen crashes on guest shutdown/destroy
>                   with nestedhvm enabled.

Can you give an example of how this bug manifests? I don't really see how
nestedhvm would interact so unexpectedly with this rather pv-oriented
subsystem.

> patch 04: obsolete gfn_to_mfn_current and remove it.
>                   gfn_to_mfn_current is redundant to
> gfn_to_mfn(current->domain, ...)
>                   This patch reduces the size of patch 17.

This one (at least -- there may be others) needs an ack from Tim.

> patch 05: hvm_set_cr0: Allow guest to switch into paged real mode.
>                   This makes hvmloader boot when we use xen in xen.

What if we are not running a nestedhvm guest, or otherwise on a system not
supporting paged real mode? Is it wise to remove the check in that case?
Even where we *do* support nestedhvm, should all guest writes to CR0 be
allowed to bypass that check (Isn't paged real mode architecturally only
allowed to be entered via VMRUN)?

More generally, I will allow these patches to sit for a week or two to give
time for potential reviewers to digest them.

 Thanks,
 Keir



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