aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-12-04 11:31:37 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-12-04 11:31:37 +0000
commite7a89ddbf9fbb7f1ef1ca541687fd6bbab305cee (patch)
tree94c52b7d391214a5d2ccab3b4b990a97378cbec0 /tools
parent66664705d9c2b0c2bcf2103808218604d1e565f6 (diff)
downloadxen-e7a89ddbf9fbb7f1ef1ca541687fd6bbab305cee.tar.gz
xen-e7a89ddbf9fbb7f1ef1ca541687fd6bbab305cee.tar.bz2
xen-e7a89ddbf9fbb7f1ef1ca541687fd6bbab305cee.zip
xend: Remember bootloader settings in xenstore
When xend is restarted, bootloader settings of all running domains are lost. The attached patches fixes this by saving bootloader and bootloader_args to xenstore database. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/XendConfig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py
index 0773fa5e57..3e1953fbb7 100644
--- a/tools/python/xen/xend/XendConfig.py
+++ b/tools/python/xen/xend/XendConfig.py
@@ -256,6 +256,8 @@ LEGACY_CFG_TYPES = {
'on_xend_start': str,
'online_vcpus': int,
'rtc/timeoffset': str,
+ 'bootloader': str,
+ 'bootloader_args': str,
}
# Values that should be stored in xenstore's /vm/<uuid> that is used
@@ -276,6 +278,8 @@ LEGACY_XENSTORE_VM_PARAMS = [
'on_reboot',
'on_xend_start',
'on_xend_stop',
+ 'bootloader',
+ 'bootloader_args',
]
##