Skip to contentSkip to conversation

Mixing patches

DISCUSSION Tom Cranbrook 1 participant 1 message Oct 6, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines

I haven't looked at the patch, but it sounds like it would want to do some pretty gross stuff.

As a quick way to apply the patch, you might want to take a look at the fakei386xen script in tools/misc. It basically renames arch xen to arch i386 so the patch without modification. I wrote it to enable me to build an external module supplied with a very dumb Makefile.

Well, the script certainly ends up the equivilant of my first suggestion, but a number of the files the w4l patch expects are gone. This is a list of files that it touches:

patching file kernel/sched.c
patching file mm/vmscan.c
patching file arch/i386/Kconfig
patching file arch/i386/kernel/apm.c
patching file arch/i386/kernel/cpu/common.c
patching file arch/i386/kernel/entry.S
patching file arch/i386/kernel/head.S
patching file arch/i386/kernel/process.c
patching file arch/i386/kernel/signal.c
patching file arch/i386/kernel/vm86.c
patching file arch/i386/Makefile
patching file arch/i386/mki/Makefile
patching file arch/i386/mki/mki.c
patching file arch/i386/mm/fault.c
patching file include/asm-i386/desc.h
patching file include/asm-i386/mki.h
patching file include/asm-i386/mkiversion.h
patching file include/asm-i386/segment.h
patching file include/asm-i386/thread_info.h
patching file include/linux/init_task.h
patching file include/linux/sched.h

Most of this seems to be hooks to a branch added to arch/i386 called mki-adaptor in a second pacth. This appears to be the interface to netraverse's binary.

Did all the i386 specific stuff move to the xen kernel? I thought that the idea of paravirtualization was the simularity between the abstraction and the hardware. Are these files things that have been moved to the xen kernel and abstracted out of the domain environment?

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl