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/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|