projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb568d6
)
Fix xm create direct call to XendBootloader
author
Tim Deegan
<Tim.Deegan@xensource.com>
Tue, 9 Jan 2007 13:24:44 +0000
(13:24 +0000)
committer
Tim Deegan
<Tim.Deegan@xensource.com>
Tue, 9 Jan 2007 13:24:44 +0000
(13:24 +0000)
Signed-off-by: John Levon <john.levon@sun.com>
tools/python/xen/xm/create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/create.py
b/tools/python/xen/xm/create.py
index 4bc94932b8341464988e66338b01278f5ff3cd03..175e0fffc7300a5155b6034351177c0858a86c95 100644
(file)
--- a/
tools/python/xen/xm/create.py
+++ b/
tools/python/xen/xm/create.py
@@
-719,8
+719,11
@@
def run_bootloader(vals, config_image):
"--entry= directly.")
vals.bootargs = "--entry=%s" %(vals.bootentry,)
+ kernel = sxp.child_value(config_image, 'kernel')
+ ramdisk = sxp.child_value(config_image, 'ramdisk')
+ args = sxp.child_value(config_image, 'args')
return bootloader(vals.bootloader, file, not vals.console_autoconnect,
- vals.bootargs,
config_image
)
+ vals.bootargs,
kernel, ramdisk, args
)
def make_config(vals):
"""Create the domain configuration.