xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Error building current Linux git tree without configuring Xen
@ 2010-04-30 19:34 Dave McCracken
  2010-05-03 18:27 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 3+ messages in thread
From: Dave McCracken @ 2010-04-30 19:34 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Xen Developers List


I tried to build a Linux kernel from current git sources without specifying 
any form of Xen.  I got these three undefined symbols:

xen_register_gsi
xen_teardown_msi_dev
xen_setup_msi_irqs

I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for the 
case where CONFIG_XEN is not set, and got a working kernel.  They're also 
defined as dummy functions higher in the file under #else clauses for other 
config variables.  I assume we don't want the dummy functions defined multiple 
times, but I'm not sure the cleanest solution.

Dave McCracken
Oracle Corp.

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

* Re: Error building current Linux git tree without configuring Xen
  2010-04-30 19:34 Error building current Linux git tree without configuring Xen Dave McCracken
@ 2010-05-03 18:27 ` Konrad Rzeszutek Wilk
  2010-05-03 19:58   ` Dave McCracken
  0 siblings, 1 reply; 3+ messages in thread
From: Konrad Rzeszutek Wilk @ 2010-05-03 18:27 UTC (permalink / raw)
  To: Dave McCracken; +Cc: Jeremy Fitzhardinge, Xen Developers List

On Fri, Apr 30, 2010 at 02:34:26PM -0500, Dave McCracken wrote:
> 
> I tried to build a Linux kernel from current git sources without specifying 

Which branch is that? Can you do 'git log' and tell me what is the
latest you see?

> any form of Xen.  I got these three undefined symbols:
> 
> xen_register_gsi
> xen_teardown_msi_dev
> xen_setup_msi_irqs
> 
> I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for the 
> case where CONFIG_XEN is not set, and got a working kernel.  They're also 

There was a patch that fixed this floating around. Don't think Jeremy
had a chance to check in it..

Here is the thread:
http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00785.html

> defined as dummy functions higher in the file under #else clauses for other 
> config variables.  I assume we don't want the dummy functions defined multiple 
> times, but I'm not sure the cleanest solution.

Something along these lines:

http://lists.xensource.com/archives/html/xen-devel/2010-04/msg01133.html

But not sure if it has been completly flushed out.
> 
> Dave McCracken
> Oracle Corp.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

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

* Re: Error building current Linux git tree without configuring Xen
  2010-05-03 18:27 ` Konrad Rzeszutek Wilk
@ 2010-05-03 19:58   ` Dave McCracken
  0 siblings, 0 replies; 3+ messages in thread
From: Dave McCracken @ 2010-05-03 19:58 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Jeremy Fitzhardinge, Xen Developers List

On Monday 03 May 2010, Konrad Rzeszutek Wilk wrote:
> On Fri, Apr 30, 2010 at 02:34:26PM -0500, Dave McCracken wrote:
> > 
> > I tried to build a Linux kernel from current git sources without
> > specifying 
> 
> Which branch is that? Can you do 'git log' and tell me what is the
> latest you see?

Hmm... I'm not using any branch, so the mainline of 
git://git.kernel.org/.../jeremy/xen.git .

It looks like real development is happening on other branches.  Should I be 
using one of them for testing and submitting new patches?  I see xen/next and 
xen/core as possible choices.
 
> > any form of Xen.  I got these three undefined symbols:
> > 
> > xen_register_gsi
> > xen_teardown_msi_dev
> > xen_setup_msi_irqs
> > 
> > I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for
> > the  case where CONFIG_XEN is not set, and got a working kernel.  They're
> > also
> 
> There was a patch that fixed this floating around. Don't think Jeremy
> had a chance to check in it..

Ok.  I just wanted to make sure it's a known problem and a fix is in progress.

Dave McCracken
Oracle Corp.

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

end of thread, other threads:[~2010-05-03 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-30 19:34 Error building current Linux git tree without configuring Xen Dave McCracken
2010-05-03 18:27 ` Konrad Rzeszutek Wilk
2010-05-03 19:58   ` Dave McCracken

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).