From: Stefan Berger Subject: [PATCH] [XM] Repost: pass --skipdtd parameter through to 'xm new' Date: Mon, 06 Aug 2007 08:23:31 -0400 Message-ID: <1186403011.9304.4.camel@gsal-3.watson.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-qru0HzvQvt64U5LEIrSE" 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 --=-qru0HzvQvt64U5LEIrSE Content-Type: text/plain Content-Transfer-Encoding: 7bit Pass the command line parameter '--skipdtd|-s' through to the actual 'xm new' command. Signed-off-by: Stefan Berger --=-qru0HzvQvt64U5LEIrSE 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 | 3 ++- 1 file changed, 2 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, + skipdtd=opts.vals.skipdtd) else: make_unstarted_domain(opts, config) --=-qru0HzvQvt64U5LEIrSE 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 --=-qru0HzvQvt64U5LEIrSE--