Skip to contentSkip to conversation

xend: Remember bootloader settings in xenstore

PATCH New Jiri Denemark 1 participant 1 message Dec 3, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

tools/python/xen/xend/XendConfig.py +4 -0
diff -r a00eb6595d3c 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',
 ]
 
 ##

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