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] Configuration of nestedhvm

To: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Subject: Re: [Xen-devel] Configuration of nestedhvm
From: Keir Fraser <keir@xxxxxxx>
Date: Fri, 08 Oct 2010 09:22:44 +0100
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 08 Oct 2010 01:23:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=1N1297d9U00V6g1h7Y2RyrpEAWfW2Wklj+j8lHtTNdc=; b=RXyeBpBRbICMEADlv1lriSJ8kotF+VwguT1Arnn0y+oeU18/trxG7n+nLCsFhzTl63 wz4EF9zP1sB9bKr+Q1SY0GScNR2A1BO+U7BfJFfLTiuDTC4H5XVaOMOOl5Co54/Bs7n0 yGTYGtjzd/jFXQFODIMyUNqobj784z16WXsV4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=XK5mAkyW07daQObSFWE/leXzKis7YXfnFnGisXu74MflL4s0LXMOcZktH2tiaPfvXD dhJxfxobKHvcZVh8Mmc5BZ3RK7sxF5q9dhY4N6UFqDZ1RHrg8jbsarVjU/mWithKWof6 bLg6xBj5sEq11hel73R402xmFixtOFY3S1gqA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1A42CE6F5F474C41B63392A5F80372B22DBEA5AA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: Actmf7Fhjj9F1X8UQAiSevQQTVQBcAAIcuFwAAWnxlYAAUz7IAABKtVv
Thread-topic: [Xen-devel] Configuration of nestedhvm
User-agent: Microsoft-Entourage/12.26.0.100708
On 08/10/2010 08:56, "Dong, Eddie" <eddie.dong@xxxxxxxxx> wrote:

>> What's the point when a per-domain config option is going to be
>> implemented? You can then simply not configure nestedhvm for a domain
>> you want to test without that capability? I suppose it makes your
>> second patch make a bit more sense than it would in total isolation.
> 
> I want double-lock (AND) like other components such as IOMMU.
> If the global switch is off, even per domain configuration is turned on, the
> final effect is "OFF".
> 
> The point here is to avoid manual mistake when the nested code is built in as
> formal release but targeting for pilot. Relying on HVM guest configuration
> only may cause the host crash or performance impact if the code has a bug and
> a guest enables nested virtualization feature.
> 
> This switch is mainly for developer only at least for now.

Well, at least it should only be disallowing toolstack to set the per-domain
config option. Then it won't need to be accessed on every use of
is_nestedhvm(). So again it depends on that, mainly tool-side, patch.

 -- Keir



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