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] [HVM][PATCH] Prompt users a proper warning if HVM featur

To: "Huang2, Wei" <Wei.Huang2@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [HVM][PATCH] Prompt users a proper warning if HVM feature disabled in BIOS
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 30 Sep 2006 10:55:08 +0100
Cc: "Woller, Thomas" <thomas.woller@xxxxxxx>
Delivery-date: Sat, 30 Sep 2006 03:05:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3946CD6D455964280163B82031D3954047CED72@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acbj93wuTSiU7nN+RoGwu6drZTJjOgAB6K8gAB3Y/kk=
Thread-topic: [Xen-devel] [HVM][PATCH] Prompt users a proper warning if HVM feature disabled in BIOS
User-agent: Microsoft-Entourage/11.2.5.060620
On 29/9/06 8:59 pm, "Huang2, Wei" <Wei.Huang2@xxxxxxx> wrote:

> Current Xen prompts a warning message, saying that machine is not a
> "hvm-capable" platform if it can not detect "hvm" in xen_caps. This
> warning is misleading, especially when CPU is actually hvm-capable but
> the feature was disabled in BIOS. This patch detects whether CPU is
> hvm-capable during boot and uses this variable to prompt correct warning
> message when users try to boot hvm guests.

This is a lot of hassle just to change a warning message. Why not extend
(and fix the English!) of the existing warning message. For example:
 "HVM guest support is unavailable: is VT/AMD-V supported by your CPU and
enabled in your BIOS?"

If the hardware feature *is* enabled in the BIOS, I don't think there are
any situations where Xen will hide the feature from domain 0. So the above
warning should only display when the platform really doesn't support
VT/AMD-V, or the support is disabled in the BIOS.

 -- Keir



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

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