From: Keir Fraser Date: Thu, 4 Dec 2008 11:31:37 +0000 (+0000) Subject: xend: Remember bootloader settings in xenstore X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14037^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e7a89ddbf9fbb7f1ef1ca541687fd6bbab305cee;p=xen.git 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 --- 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/ that is used @@ -276,6 +278,8 @@ LEGACY_XENSTORE_VM_PARAMS = [ 'on_reboot', 'on_xend_start', 'on_xend_stop', + 'bootloader', + 'bootloader_args', ] ##