Re: kvm-kmod.git

Avi Kivity
2009-04-28T10:24:43Z

Michael S. Tsirkin wrote:
> On Mon, Apr 27, 2009 at 03:32:29PM +0300, Avi Kivity wrote:
>
>> This is a small git repository for the kvm external module kit.
>>
>
> So, I am building on a host with CONFIG_KVM_TRACE set in its
> kernel, but I run configure without enabling kvm trace.
> As a result the module fails to link:
>
> WARNING: "kvm_trace_ioctl" [/home/mtsirkin/scm/kvm-kmod/x86/kvm.ko] undefined!
> WARNING: "kvm_trace_cleanup" [/home/mtsirkin/scm/kvm-kmod/x86/kvm.ko] undefined!
>
> I think you need to undef CONFIG_KVM_TRACE somewhere to override the
> value set in autoconf.h?
>

Or maybe, add a s/CONFIG_KVM_TRACE/CONFIG_KMOD_KVM_TRACE/ to make the
two options independent.

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