From: Jiageng Yu <yujiageng734@gmail.com>
To: Xen-devel@lists.xensource.com
Subject: apic probe of 2.6.32.41 pv linux
Date: Fri, 27 May 2011 17:58:51 +0800 [thread overview]
Message-ID: <BANLkTimUY4cLyZeff=N4tRU+1c3=KimTSw@mail.gmail.com> (raw)
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!
next reply other threads:[~2011-05-27 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 9:58 Jiageng Yu [this message]
2011-05-27 13:57 ` apic probe of 2.6.32.41 pv linux 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
[not found] <BANLkTiketgpSQMaEBnHhpDmbXVYT8Qg4JA@mail.gmail.com>
[not found] ` <4DE01762.6020102@goop.org>
2011-05-28 4:56 ` Jiageng Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTimUY4cLyZeff=N4tRU+1c3=KimTSw@mail.gmail.com' \
--to=yujiageng734@gmail.com \
--cc=Xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).