From: Horms Subject: Re: Re: [PATCH]: kexec: framework and i386 (Take VIII) Date: Wed, 17 May 2006 13:53:24 +0900 Message-ID: <20060517045322.GA24072@verge.net.au> References: <20060509091849.GA18206@verge.net.au> <3c347db5fc144e0809c47b5efe8f6582@cl.cam.ac.uk> <12c36e8e9c573c900cd75f27b3d650d3@cl.cam.ac.uk> <20060517024402.GA13874@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20060517024402.GA13874@verge.net.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Ian Pratt , Kazuo Moriwaka , xen-devel@lists.xensource.com, Akio Takebe , Isaku Yamahata , Magnus Damm , Mark Williamson List-Id: xen-devel@lists.xenproject.org On Wed, May 17, 2006 at 11:44:04AM +0900, Horms wrote: > On Tue, May 16, 2006 at 01:39:31PM +0100, Keir Fraser wrote: > > > > On 16 May 2006, at 12:03, Akio Takebe wrote: > > > > >No, it can kexec only to kdump kernel. > > >I think we need to update kexec-tools for kexecing Xen. > > >(e.g. to load xen,dom0 and initrd) > > >Am I right, Horms? > > > > kexec-tools support multiboot format these days. So if kexec is added > > to Xen then we should support kexec'ing to Xen, or we need a good > > explanation why we can't. > > No it can't kexec into xen yet. I'm happy to report that with some more testing, as long as kexec-tool is compiled with zlib support I can kexec linux->xen and xen->xen. Actually, zlib might not be neccessary if both xen and linux are uncompressed. In any case, for reference, here is a kexec command line that works for me. kexec -l -t multiboot-x86 --append="console=com1 sync_console conswitch=bb com1=115200,8n1,0x3f8 dom0_mem=48000" /root/xen --module="/root/vmlinuz-xen root=/dev/hda1 ro console=ttyS0,115200 clock=pit ip=on apm=power-off" --module=/tmp/initramfs_data.cpio I will post an updated patch today or tomorrow and at that time I will outline the immediate targets for further development. For now, I'd like to ask that you don't merge what I have posted, as there are some invasive changes coming up with regards to page table handling, but I sould be able to provide a patch that includes those changes within the next week as the code is already done, it just needs to be cleaned up a bit and merged with the kexec patch. -- Horms http://www.vergenet.net/~horms/