ia64/xen-unstable

changeset 18863:63aa939c114c

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>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Dec 04 11:31:37 2008 +0000 (2008-12-04)
parents 7338f6301067
children 1099be706d4e
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Wed Dec 03 15:58:23 2008 +0000
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Thu Dec 04 11:31:37 2008 +0000
     1.3 @@ -256,6 +256,8 @@ LEGACY_CFG_TYPES = {
     1.4      'on_xend_start': str,
     1.5      'online_vcpus':  int,
     1.6      'rtc/timeoffset': str,
     1.7 +    'bootloader':    str,
     1.8 +    'bootloader_args': str,
     1.9  }
    1.10  
    1.11  # Values that should be stored in xenstore's /vm/<uuid> that is used
    1.12 @@ -276,6 +278,8 @@ LEGACY_XENSTORE_VM_PARAMS = [
    1.13      'on_reboot',
    1.14      'on_xend_start',
    1.15      'on_xend_stop',
    1.16 +    'bootloader',
    1.17 +    'bootloader_args',
    1.18  ]
    1.19  
    1.20  ##