Re: [PATCH] KVM: Avoid using CONFIG_ in userspace visible headers

Ingo Molnar
2009-01-19T13:09:46Z

* Avi Kivity <avi@redhat.com> wrote:

> Kconfig symbols are not available in userspace, and are not stripped by
> headers-install. Avoid their use by adding #defines in <asm/kvm.h> to
> suit each architecture.
>
> Signed-off-by: Avi Kivity <avi@redhat.com>
> ---
> arch/ia64/include/asm/kvm.h | 4 ++++
> arch/x86/include/asm/kvm.h | 7 +++++++
> include/linux/kvm.h | 10 +++++-----
> 3 files changed, 16 insertions(+), 5 deletions(-)

looks good - you will push this via the KVM tree, right?

Ingo