[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [HVM][PATCH] Prompt users a proper warning if HVM feature disabled in BIOS


  • To: "Huang2, Wei" <Wei.Huang2@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acbj93wuTSiU7nN+RoGwu6drZTJjOgAB6K8gAB3Y/kk=
  • Thread-topic: [Xen-devel] [HVM][PATCH] Prompt users a proper warning if HVM feature disabled in BIOS

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.