WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Fix bootloader = "pygrub" via 'xm create'

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix bootloader = "pygrub" via 'xm create'.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Jan 2007 04:00:50 -0800
Delivery-date: Wed, 10 Jan 2007 04:02:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1168349083 0
# Node ID 4d3ac395ea57ee5aa35589822f0096aab0578edb
# Parent  8966444e69fab687160515bef48bf38ea4610a46
Fix bootloader = "pygrub" via 'xm create'.

Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/python/xen/xm/create.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r 8966444e69fa -r 4d3ac395ea57 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Tue Jan 09 13:24:42 2007 +0000
+++ b/tools/python/xen/xm/create.py     Tue Jan 09 13:24:43 2007 +0000
@@ -28,6 +28,7 @@ import xmlrpclib
 
 from xen.xend import sxp
 from xen.xend import PrettyPrint
+from xen.xend import osdep
 import xen.xend.XendClient
 from xen.xend.XendBootloader import bootloader
 from xen.util import blkif
@@ -759,6 +760,8 @@ def make_config(vals):
 
     config_image = configure_image(vals)
     if vals.bootloader:
+        if vals.bootloader == "pygrub":
+            vals.bootloader = osdep.pygrub_path
         config_image = run_bootloader(vals, config_image)
         config.append(['bootloader', vals.bootloader])
         if vals.bootargs:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix bootloader = "pygrub" via 'xm create'., Xen patchbot-unstable <=