Google
  Web www.spinics.net

RE: next-0409: kvm-ia64 build failure when !MODULES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxx>
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@xxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe kvm-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

  Powered by Linux