XM/XenAPI: Enable console other_config to be passed through Xen API
PATCH 1/1 XM/XenAPI: Enable console other_config to be passed through Xen API
Currently console class's "other_config" parameters (such as "vnclisten" and "vncpasswd")
are not passed to xend when creating a domain by xm command through xen-api. The attached patch fixes this problem.
Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation
XM/XenAPI: Enable Console other_config parameters to be passed through Xen API.
Signed-off-by Yosuke Iwamatsu <[email protected]>
tools/python/xen/xm/xenapi_create.py +2 -2
@@ -485,9 +485,9 @@ class xenapi_create: vm_ref, "protocol": console.attributes["protocol"].value, - "other_params": + "other_config": get_child_nodes_as_dict(console, - "other_param", "key", "value") + "other_config", "key", "value") } return server.xenapi.console.create(console_record)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel