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

[Xen-devel] [HVM][PATCH] Prompt users a proper warning if HVM feature di

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [HVM][PATCH] Prompt users a proper warning if HVM feature disabled in BIOS
From: "Huang2, Wei" <Wei.Huang2@xxxxxxx>
Date: Fri, 29 Sep 2006 14:59:47 -0500
Cc: "Woller, Thomas" <thomas.woller@xxxxxxx>
Delivery-date: Fri, 29 Sep 2006 13:01:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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+RoGwu6drZTJjOgAB6K8g
Thread-topic: [Xen-devel] [HVM][PATCH] Prompt users a proper warning if HVM feature disabled in BIOS
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.


Tested on the following configurations:
  AMD's AMD-V processor: 32-bit and 64-bit
  Intel's VT processor: 32-bit and 64-bit

Applies cleanly to 11677. Please apply to xen-unstable.hg

Signed-off-by: Wei Huang <wei.huang2@xxxxxxx> 


Thanks

-Wei

Attachment: hvm-bios-disable-warning.patch
Description: hvm-bios-disable-warning.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>