Skip to contentSkip to conversation

tools: don't require hardcoded firmware path in guest config file

Xen-changelog Mark Johnson 2 participants 2 messages Jun 23, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · Xen patchbot-unstable

# HG changeset patch
# User Keir Fraser <[email protected]>
# Date 1245752607 -3600
# Node ID b55070edb1854060914f4f313d62eb303501887c
# Parent  d9b988c65ebfab24cd61d467bd8a4374419de55e
tools: don't require hardcoded firmware path in guest config file

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))
                                                     ^
#2 lore raw

Attached patch fixes this.

Quoted 32 lines · On Tuesday 23 June 2009 16:41:59 Mark Johnson wrote:

On Tue, Jun 23, 2009 at 6:45 AM, Xen

Quoted 8 lines · patchbot-unstable

# HG changeset patch
# User Keir Fraser <[email protected]>
# Date 1245752607 -3600
# Node ID b55070edb1854060914f4f313d62eb303501887c
# Parent  d9b988c65ebfab24cd61d467bd8a4374419de55e
tools: don't require hardcoded firmware path in guest config file

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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 6 lines
---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
tools/python/xen/xm/create.py +1 -1
diff -r 5f5112a7d2ff tools/python/xen/xm/create.py
@@ -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:

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel