This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH]: kexec: framework and i386 (Take VI)

On Sat, May 06, 2006 at 05:44:44PM +0900, Akio Takebe wrote:
> Hi, Horms
> Why you modify ref-linux-2.6.16/kernel/{drivers/base/cpu.c, kernel/kexec.c }?
> I tried to patch your kexec patch, I fail to patch it.
> How do you do patch?

Sorry, the drivers/base/cpu.c portion is just an artifact of xen's build
system which modifies that file on build, but doesn't unmodify it on
distclean. It shouldn't have been included in my patch.

kernel/kexec.c needs to be modified primarily so that mfns are used
instead of pfns. Again because of strangeness in the the xen build
system, this patch is a bit odd as it patches a file not covered by a
xen checkout (even though its needed for a xen build).  If you run the
following before applying the patch it should apply.

make prep-kernels clean kclean
make -C linux-2.6.16-xen distclean

> I think you can make a patch in patches/linux-2.6.16/ if you would
> modify these.

Yes, that is probably the best way forward, I'll work on breaking it
out in that manner.

Horms                                           http://www.vergenet.net/~horms/

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>