[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] apic probe of 2.6.32.41 pv linux



On Fri, May 27, 2011 at 05:58:51PM +0800, Jiageng Yu wrote:
> 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:

new..? What was it before?
> 
> 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!
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.