xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* apic probe of 2.6.32.41 pv linux
@ 2011-05-27  9:58 Jiageng Yu
  2011-05-27 13:57 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 6+ messages in thread
From: Jiageng Yu @ 2011-05-27  9:58 UTC (permalink / raw)
  To: Xen-devel

I have updated the pv linux kernel from 2.6.32.40 to 2.6.32.41. I
found the generic_apic_probe always led to a kernel panic when I try
to make the minimal DomU kernel.

The 2.6.32.41 pv linux use the new apic probe mechanism:

static __init int xen_safe_probe(void) {
        if (!xen_initial_domain())
                return 0;
        return 1;
}

#ifdef CONFIG_XEN_DOM0
#define xen_initial_domain()    (xen_pv_domain() && xen_start_info->flags
& SIF_INITDOMAIN)
#else  /* !CONFIG_XEN_DOM0 */
#define xen_initial_domain()    (0)
#endif  /* CONFIG_XEN_DOM0 */


If do not define the CONFIG_XEN_DOM0, xen_safe_probe will always
return 0 which causes the kernel panic. For the minimal DomU kernel,
the CONFIG_XEN_DOM0 is needless, and in this scenario, how to pass the
apic probe safely?

Thanks!

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

end of thread, other threads:[~2011-05-28  4:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BANLkTiketgpSQMaEBnHhpDmbXVYT8Qg4JA@mail.gmail.com>
     [not found] ` <4DE01762.6020102@goop.org>
2011-05-28  4:56   ` apic probe of 2.6.32.41 pv linux Jiageng Yu
2011-05-27  9:58 Jiageng Yu
2011-05-27 13:57 ` Konrad Rzeszutek Wilk
2011-05-27 14:44   ` Jiageng Yu
2011-05-27 15:22     ` Stefano Stabellini
2011-05-27 15:24     ` Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).