From: Stefan Berger Subject: [PATCH] [XM] Pass --skipdtd parameter to 'xm new' application Date: Sat, 14 Jul 2007 10:26:52 -0400 Message-ID: <1184423212.19270.2.camel@gsal-3.watson.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-xzQBdjFLwg+6WDG/s+tE" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-xzQBdjFLwg+6WDG/s+tE Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 --=-xzQBdjFLwg+6WDG/s+tE Content-Disposition: attachment; filename=xm_new_skip_dtd.diff Content-Type: text/x-patch; name=xm_new_skip_dtd.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit --- xen-unstable.hg/tools/python/xen/xm/new.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: root/xen-unstable.hg/tools/python/xen/xm/new.py =================================================================== --- root.orig/xen-unstable.hg/tools/python/xen/xm/new.py +++ root/xen-unstable.hg/tools/python/xen/xm/new.py @@ -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) --=-xzQBdjFLwg+6WDG/s+tE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-xzQBdjFLwg+6WDG/s+tE--