Jean-Edouard LEJOSNE
2010-Mar-25 12:03 UTC
[Xen-devel] [PATCH] xl: field ''type'' not set in dm_info
This fixes a bug that makes xl start qemu without the FV/PV specific options.
Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
diff -r 377433a77d70 tools/libxl/xl.c
--- a/tools/libxl/xl.c Wed Mar 24 11:06:48 2010 +0000
+++ b/tools/libxl/xl.c Thu Mar 25 11:14:33 2010 +0000
@@ -660,6 +660,8 @@
if (!xlu_cfg_get_string (config, "usbdevice", &buf))
dm_info->usbdevice = strdup(buf);
}
+
+ dm_info->type = (c_info->hvm) ? XENFV : XENPV;
xlu_cfg_destroy(config);
}
--
Jean-Edouard LEJOSNE
XenClient Team
jean-edouard.lejosne@citrix.com
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel