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

[Xen-changelog] [xen-3.0.3-testing] [HVM][TOOLS] Improve warnign message when trying to create



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Date 1159612502 -3600
# Node ID 02311d8aba867e2107cdc0c6448c55556def97ad
# Parent  82983c636549fdbae3868f44da8b4191b606bec9
[HVM][TOOLS] Improve warnign message when trying to create
an HVM guest on a non-capable platform.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 82983c636549 -r 02311d8aba86 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Sat Sep 30 11:30:09 2006 +0100
+++ b/tools/python/xen/xend/image.py    Sat Sep 30 11:35:02 2006 +0100
@@ -244,7 +244,8 @@ class HVMImageHandler(ImageHandler):
 
         info = xc.xeninfo()
         if not 'hvm' in info['xen_caps']:
-            raise VmError("Not an HVM capable platform, we stop creating!")
+            raise VmError("HVM guest support is unavailable: is VT/AMD-V "
+                          "supported by your CPU and enabled in your BIOS?")
 
         self.dmargs = self.parseDeviceModelArgs(imageConfig, deviceConfig)
         self.device_model = sxp.child_value(imageConfig, 'device_model')

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


 


Rackspace

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