linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* next-0409: kvm-ia64 build failure when !MODULES
@ 2009-04-09 13:05 Alexander Beregalov
  2009-04-09 13:37 ` Zhang, Xiantao
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Beregalov @ 2009-04-09 13:05 UTC (permalink / raw)
  To: linux-next, kvm-ia64

Hi

arch/ia64/kvm/kvm-ia64.c: In function 'kvm_patch_vmm':
arch/ia64/kvm/kvm-ia64.c:1686: error: dereferencing pointer to incomplete type
arch/ia64/kvm/kvm-ia64.c: In function 'kvm_relocate_vmm':
arch/ia64/kvm/kvm-ia64.c:1718: error: dereferencing pointer to incomplete type
arch/ia64/kvm/kvm-ia64.c:1719: error: dereferencing pointer to incomplete type

# CONFIG_MODULES is not set

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

* RE: next-0409: kvm-ia64 build failure when !MODULES
  2009-04-09 13:05 next-0409: kvm-ia64 build failure when !MODULES Alexander Beregalov
@ 2009-04-09 13:37 ` Zhang, Xiantao
  2009-04-09 15:23   ` Avi Kivity
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Xiantao @ 2009-04-09 13:37 UTC (permalink / raw)
  To: Alexander Beregalov, linux-next, kvm-ia64, Avi Kivity

Hi, Avi 
    Please apply this patch to fix the issue. 
Xiantao


>From 053f7d5480916b693ffc89f7d4c57883467dbeff Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Thu, 9 Apr 2009 21:27:44 +0800
Subject: [PATCH] KVM: ia64: make kvm depend on CONFIG_MODULES.

Since kvm-intel modue can't be built-in, so make kvm depend on
CONFIG_MODULES.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 arch/ia64/kvm/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/kvm/Kconfig b/arch/ia64/kvm/Kconfig
index 0a2d6b8..64d5209 100644
--- a/arch/ia64/kvm/Kconfig
+++ b/arch/ia64/kvm/Kconfig
@@ -23,7 +23,7 @@ if VIRTUALIZATION

 config KVM
        tristate "Kernel-based Virtual Machine (KVM) support"
-       depends on HAVE_KVM && EXPERIMENTAL
+       depends on HAVE_KVM && MODULES && EXPERIMENTAL
        # for device assignment:
        depends on PCI
        select PREEMPT_NOTIFIERS
--
1.6.0


Alexander Beregalov wrote:
> Hi
> 
> arch/ia64/kvm/kvm-ia64.c: In function 'kvm_patch_vmm':
> arch/ia64/kvm/kvm-ia64.c:1686: error: dereferencing pointer to
> incomplete type arch/ia64/kvm/kvm-ia64.c: In function
> 'kvm_relocate_vmm': arch/ia64/kvm/kvm-ia64.c:1718: error:
> dereferencing pointer to incomplete type
> arch/ia64/kvm/kvm-ia64.c:1719: error: dereferencing pointer to
> incomplete type  
> 
> # CONFIG_MODULES is not set

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

* Re: next-0409: kvm-ia64 build failure when !MODULES
  2009-04-09 13:37 ` Zhang, Xiantao
@ 2009-04-09 15:23   ` Avi Kivity
  0 siblings, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2009-04-09 15:23 UTC (permalink / raw)
  To: Zhang, Xiantao; +Cc: Alexander Beregalov, linux-next, kvm-ia64

Zhang, Xiantao wrote:
> Hi, Avi 
>     Please apply this patch to fix the issue. 
> Xiantao
>
>
> From 053f7d5480916b693ffc89f7d4c57883467dbeff Mon Sep 17 00:00:00 2001
> From: Xiantao Zhang <xiantao.zhang@intel.com>
> Date: Thu, 9 Apr 2009 21:27:44 +0800
> Subject: [PATCH] KVM: ia64: make kvm depend on CONFIG_MODULES.
>
> Since kvm-intel modue can't be built-in, so make kvm depend on
> CONFIG_MODULES.
>   

Applied, thanks.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

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

end of thread, other threads:[~2009-04-09 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-09 13:05 next-0409: kvm-ia64 build failure when !MODULES Alexander Beregalov
2009-04-09 13:37 ` Zhang, Xiantao
2009-04-09 15:23   ` Avi Kivity

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