direct-io.hg

changeset 11683:02311d8aba86

[HVM][TOOLS] Improve warnign message when trying to create
an HVM guest on a non-capable platform.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Sep 30 11:35:02 2006 +0100 (2006-09-30)
parents 82983c636549
children 96a77ef725b8 2bfd19fc1b79
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Sat Sep 30 11:30:09 2006 +0100
     1.2 +++ b/tools/python/xen/xend/image.py	Sat Sep 30 11:35:02 2006 +0100
     1.3 @@ -244,7 +244,8 @@ class HVMImageHandler(ImageHandler):
     1.4  
     1.5          info = xc.xeninfo()
     1.6          if not 'hvm' in info['xen_caps']:
     1.7 -            raise VmError("Not an HVM capable platform, we stop creating!")
     1.8 +            raise VmError("HVM guest support is unavailable: is VT/AMD-V "
     1.9 +                          "supported by your CPU and enabled in your BIOS?")
    1.10  
    1.11          self.dmargs = self.parseDeviceModelArgs(imageConfig, deviceConfig)
    1.12          self.device_model = sxp.child_value(imageConfig, 'device_model')