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] apic probe of pv linux

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] apic probe of pv linux
From: Jiageng Yu <yujiageng734@xxxxxxxxx>
Date: Fri, 27 May 2011 22:44:05 +0800
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 27 May 2011 23:08:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YZ2biRkMjMvrj5ZAwJBlQlGJebx+2bI5+cxLahGbcOw=; b=kGAw0RWEBwY1TkIRGQUxk56RT5IJ/hnmTP7UTJGACUCBGuBRTyqDKDmoxKv78EEQDX Ovd6Gqlzo6ACXtdUZBrAmZdkffvZIAYR2Nik2b7MvZFV/CdZL+NnJW4kKkzcWH8hh9Ry BN/WpyvyDXYGYkQvSw79qzFCoGer5x7uz4yMQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=nBdPobbeU7v7qvlTR45++rSwJv5siOU5bmq+Nf6gzxtx3/ZZUbivuuMz7M+o62Vz3U fiWLfNIraz503aptJ+g6wOVBt0HE/FFMcQ0P/CsuLcADde9mXTstEHzZ94PW9/fipF1D ct898HYqdF/gjPNq0NS1hvpQWOg01yyEK1TLg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110527135756.GB6734@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTimUY4cLyZeff=N4tRU+1c3=KimTSw@xxxxxxxxxxxxxx> <20110527135756.GB6734@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2011/5/27 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>:
> On Fri, May 27, 2011 at 05:58:51PM +0800, Jiageng Yu wrote:
>> I have updated the pv linux kernel from to I
>> found the generic_apic_probe always led to a kernel panic when I try
>> to make the minimal DomU kernel.
>> The pv linux use the new apic probe mechanism:
> new..? What was it before?

The linux kernel will invoke probe_default, which permanently returns 1.
I wander to know may I just return 1 in kernel? If there is
no further problems.

>> 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
>> #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

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