Skip to contentSkip to conversation

kvm: external module: test for EXT_CONFIG_KVM_TRACE instead of CONFIG_KVM_TRACE

PATCH Applied Eduardo Habkost 2 participants 2 messages Oct 24, 2008 – Oct 26, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm: external module: test for EXT_CONFIG_KVM_TRACE instead of CONFIG_KVM_TRACE

This patch complements 800e7a37ca9ace991a6a36a0046551ec30ec3b9c (kvm: external module: adjust KVM_TRACE support to account for host kernel).

The config variable defined on config.kbuild was renamed to EXT_CONFIG_KVM_TRACE, but the check for the configure setting on kernel/Makefile was not changed to the new name, making the build system try to compile kvm_trace.c without -DEXT_CONFIG_KVM_TRACE=y, if building using --with-kvm-trace.

---
 kernel/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/Makefile +1 -1
index ef18fa6..66d0677 100644
@@ -34,7 +34,7 @@ hack-files-ia64 = kvm_main.c kvm_fw.c
 
 hack-files = $(hack-files-$(ARCH_DIR))
 
-ifeq ($(CONFIG_KVM_TRACE),y)
+ifeq ($(EXT_CONFIG_KVM_TRACE),y)
 module_defines += -DEXT_CONFIG_KVM_TRACE=y
 endif
 
Signature · 1 line
1.5.6.rc3.11.g5f54d
Applied
#1 lore raw
Quoted 10 lines · Eduardo Habkost

This patch complements 800e7a37ca9ace991a6a36a0046551ec30ec3b9c (kvm: external module: adjust KVM_TRACE support to account for host kernel).

The config variable defined on config.kbuild was renamed to EXT_CONFIG_KVM_TRACE, but the check for the configure setting on kernel/Makefile was not changed to the new name, making the build system try to compile kvm_trace.c without -DEXT_CONFIG_KVM_TRACE=y, if building using --with-kvm-trace.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function