* powerpc/kvm tree build failure
@ 2009-12-14 6:35 Stephen Rothwell
2009-12-14 10:03 ` Alexander Graf
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2009-12-14 6:35 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev
Cc: linuxppc-dev, Alexander Graf, Hollis Blanchard
[-- Attachment #1: Type: text/plain, Size: 489 bytes --]
Hi all,
A powerpc allmodconfig fails like this:
arch/powerpc/kvm/built-in.o:(.toc1+0x18): undefined reference to `kvm_debugfs_dir'
This is because CONFIG_KVM_EXIT_TIMING is a bool while
CONFIG_KVM_BOOK3S_64 is tristate. This causes arch/powerpc/kvm/timing.o
(which references kvm_debugfs_dir) to be built in, but
virt/kvm/kvm_main.o (which defines it) to be modular.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: powerpc/kvm tree build failure
2009-12-14 6:35 powerpc/kvm tree build failure Stephen Rothwell
@ 2009-12-14 10:03 ` Alexander Graf
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2009-12-14 10:03 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Paul Mackerras, linuxppc-dev, Hollis Blanchard, linuxppc-dev
On 14.12.2009, at 07:35, Stephen Rothwell wrote:
> Hi all,
>=20
> A powerpc allmodconfig fails like this:
>=20
> arch/powerpc/kvm/built-in.o:(.toc1+0x18): undefined reference to =
`kvm_debugfs_dir'
>=20
> This is because CONFIG_KVM_EXIT_TIMING is a bool while
> CONFIG_KVM_BOOK3S_64 is tristate. This causes =
arch/powerpc/kvm/timing.o
> (which references kvm_debugfs_dir) to be built in, but
> virt/kvm/kvm_main.o (which defines it) to be modular.
Ouch.
EXIT_TIMING could be used by BookE and Book3S KVM support. BookE can't =
be built as a module, while Book3S can.
So what's the usual / best way to fix this? Make EXIT_TIMING a tristate =
too, but only on Book3S? Maybe by defining it as dependent on Book3S or =
BookE KVM support?
The easiest thing for now would probably be to just make it depend on =
BookE support, since we don't have support for exit timing in Book3S =
yet. But I'm not sure which approach is the best to take :-).
Alex=
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-14 10:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 6:35 powerpc/kvm tree build failure Stephen Rothwell
2009-12-14 10:03 ` Alexander Graf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox