From: Christoph Egger Subject: Re: Re: [Xen-changelog] [xen-unstable] tools: don't require hardcoded firmware path in guest config file Date: Tue, 23 Jun 2009 16:49:46 +0200 Message-ID: <200906231649.46711.Christoph.Egger@amd.com> References: <200906231045.n5NAjGFR008722@xenbits.xensource.com> <521a4d120906230741m1ed30657lda99f49c861a8f80@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_KuOQKv1Q5A8pLe+" Return-path: In-Reply-To: <521a4d120906230741m1ed30657lda99f49c861a8f80@mail.gmail.com> 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@lists.xensource.com Cc: Mark Johnson List-Id: xen-devel@lists.xenproject.org --Boundary-00=_KuOQKv1Q5A8pLe+ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Attached patch fixes this. Signed-off-by: Christoph Egger On Tuesday 23 June 2009 16:41:59 Mark Johnson wrote: > On Tue, Jun 23, 2009 at 6:45 AM, Xen > > patchbot-unstable wrote: > > # HG changeset patch > > # User Keir Fraser > > # Date 1245752607 -3600 > > # Node ID b55070edb1854060914f4f313d62eb303501887c > > # Parent =A0d9b988c65ebfab24cd61d467bd8a4374419de55e > > tools: don't require hardcoded firmware path in guest config file > > > > Signed-off-by: Christoph Egger > > FYI, I'm getting a build issue with this changeset.. (missing a ':') > > > > MRJ > > > ---- new warnings/errors for xen ---- > File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 663 > elif os.path.exists(os.path.abspath(vals.kernel)) > ^ > SyntaxError: invalid syntax > File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 663 > elif os.path.exists(os.path.abspath(vals.kernel)) > ^ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel =2D-=20 =2D--to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_KuOQKv1Q5A8pLe+ Content-Type: text/x-diff; charset="iso-8859-1"; name="xen_buildfix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_buildfix.diff" diff -r 5f5112a7d2ff tools/python/xen/xm/create.py --- a/tools/python/xen/xm/create.py Tue Jun 23 11:27:54 2009 +0100 +++ b/tools/python/xen/xm/create.py Tue Jun 23 16:49:06 2009 +0200 @@ -660,7 +660,7 @@ def configure_image(vals): # This allows guest migration to a Dom0 having different # xen install pathes. config_image.append([ 'kernel', vals.kernel ]) - elif os.path.exists(os.path.abspath(vals.kernel)) + elif os.path.exists(os.path.abspath(vals.kernel)): # Keep old behaviour, if path is valid. config_image.append([ 'kernel', os.path.abspath(vals.kernel) ]) else: --Boundary-00=_KuOQKv1Q5A8pLe+ 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 --Boundary-00=_KuOQKv1Q5A8pLe+--