Pass --skipdtd parameter to 'xm new' application
PATCH 1/1 Pass --skipdtd parameter to 'xm new' application
Pass the -s|--skipdtd parameter through to the 'xm new' application. On my machine I get random hangs in the function that's loading the dtd (xmldtd.load_dtd in xenapi_create.py)?!
Signed-off-by Stefan Berger <[email protected]>
--- xen-unstable.hg/tools/python/xen/xm/new.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
xen-unstable.hg/tools/python/xen/xm/new.py +2 -1
@@ -75,7 +75,8 @@ def main(argv): doc = sxp2xml_inst.convert_sxp_to_xml(config) xenapi_create_inst = xenapi_create() - vm_refs = xenapi_create_inst.create(document = doc) + vm_refs = xenapi_create_inst.create(document = doc, + opts.vals.skipdtd) else: make_unstarted_domain(opts, config)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel