All of lore.kernel.org
 help / color / mirror / Atom feed
* kexec trouble
@ 2006-12-05 14:37 Gerd Hoffmann
  2006-12-05 15:53 ` Magnus Damm
  0 siblings, 1 reply; 20+ messages in thread
From: Gerd Hoffmann @ 2006-12-05 14:37 UTC (permalink / raw)
  To: Magnus Damm; +Cc: Xen devel list

  Hi,

Uh, it's a bit messy, with the changes sprinkled over the sparse tree
and the patches directory, which makes it a bit hard to fixup stuff.

IMHO the kexec code makes way to many decisions at compile time, not
runtime, especially the ones in the kexec code core.  Having something
depend on CONFIG_XEN doesn't fly with the paravirt approach planned for
mainline merge (same kernel binary runs both native and paravirtualized).

I'm also in trouble now with guest kexec patches as they work with guest
phys addrs not machine phys addrs.

I think we need either wrapper functions for machine_kexec_* functions
which dispatch to the correct function depending on the environment
(dom0 vs domU, later also native) or just make them function pointers to
archive the same effect.  Same goes for the KEXEC_ARCH_HAS_PAGE_MACROS
stuff.  IMHO "#ifdef CONFIG_XEN" should go away from the core code (i.e.
kernel/kexec.c).

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2006-12-08 15:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 14:37 kexec trouble Gerd Hoffmann
2006-12-05 15:53 ` Magnus Damm
2006-12-05 16:55   ` Gerd Hoffmann
2006-12-06  4:08     ` Magnus Damm
2006-12-06  8:48       ` Gerd Hoffmann
2006-12-06  9:41         ` Magnus Damm
2006-12-06 10:31           ` Gerd Hoffmann
2006-12-06 11:11             ` Magnus Damm
2006-12-06 13:23               ` Gerd Hoffmann
2006-12-06 13:40                 ` Muli Ben-Yehuda
2006-12-07 11:24               ` Gerd Hoffmann
2006-12-08  4:15                 ` Magnus Damm
2006-12-08 10:01                   ` Gerd Hoffmann
2006-12-08 10:24                     ` Ian Campbell
2006-12-08 11:28                       ` Gerd Hoffmann
2006-12-08 11:32                         ` Keir Fraser
2006-12-08 11:52                         ` Ian Campbell
2006-12-08 15:49                         ` Ian Campbell
2006-12-06  8:37   ` Keir Fraser
2006-12-06  9:08     ` Magnus Damm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.