|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] xl: obey uuid config option
Signed-off-by: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
diff -r fd38d1c9f5ac tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Wed Aug 25 19:39:05 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c Wed Aug 25 19:44:33 2010 +0100
@@ -607,7 +607,11 @@ static void parse_config_data(const char
c_info->name = strdup(buf);
else
c_info->name = "test";
- libxl_uuid_generate(&c_info->uuid);
+
+ if (!xlu_cfg_get_string (config, "uuid", &buf))
+ libxl_uuid_from_string(&c_info->uuid, buf);
+ else
+ libxl_uuid_generate(&c_info->uuid);
if (!xlu_cfg_get_long(config, "oos", &l))
c_info->oos = l;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] xl: obey uuid config option,
Gianni Tedesco <=
|
|
|
|
|