> But this makes kvm_enabled() check dynamic and code that was> eliminated by compiler for !CONFIG_KVM will now be generated.> > Wouldn't adding CONFIG_KVM to config-host.h also solve the problem?
CONFIG_KVM is (and should be) a per-target decision.
Paul