mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
[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>
This commit is contained in:
1 parent
963edd2c4e
commit
bd769a8dd5
1 file changed
+2
-1
@@ -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')
|
||||
|
||||