From: Jiri Denemark Subject: [PATCH] xend: Remember bootloader settings in xenstore Date: Wed, 3 Dec 2008 17:50:31 +0100 Message-ID: <20081203165031.GA3637@orkuz.home> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="remember-bootloader.patch" diff -r a00eb6595d3c tools/python/xen/xend/XendConfig.py --- a/tools/python/xen/xend/XendConfig.py Sat Nov 29 09:07:52 2008 +0000 +++ b/tools/python/xen/xend/XendConfig.py Wed Dec 03 17:49:54 2008 +0100 @@ -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', ] ## --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --bg08WKrSYDhXBjb5--