kvm: external module: test for EXT_CONFIG_KVM_TRACE instead of CONFIG_KVM_TRACE
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
@@ -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
Avi Kivity
AppliedQuoted 10 lines · Eduardo Habkost
This patch complements
800e7a37ca9ace991a6a36a0046551ec30ec3b9c(kvm: external module: adjustKVM_TRACEsupport 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 compilekvm_trace.cwithout -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