Re: [PATCH] KVM: allow host header to be included even for !CONFIG_KVM

From: Frederic Weisbecker
Date: Sun Mar 24 2013 - 09:44:50 EST


2013/3/21 Gleb Natapov <gleb@xxxxxxxxxx>:
> Isn't is simpler for kernel/context_tracking.c to define empty
> __guest_enter()/__guest_exit() if !CONFIG_KVM.

That doesn't look right. Off-cases are usually handled from the
headers, right? So that we avoid iffdeffery ugliness in core code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/