Re: [PATCH 2/7] KVM: Introduce __KVM_HAVE_IRQCHIP

Paolo Bonzini
2013-04-17T11:49:29Z

Il 16/04/2013 19:26, Alexander Graf ha scritto:
> Quite a bit of code in KVM has been conditionalized on availability of
> IOAPIC emulation. However, most of it is generically applicable to
> platforms that don't have an IOPIC, but a different type of irq chip.
>
> Introduce a new define to distinguish between generic code and IOAPIC
> specific code.
>
> Signed-off-by: Alexander Graf <agraf@suse.de>
> ---
> arch/x86/include/uapi/asm/kvm.h | 1 +
> include/linux/kvm_host.h | 4 ++--
> include/uapi/linux/kvm.h | 2 +-
> virt/kvm/eventfd.c | 6 +++---
> 4 files changed, 7 insertions(+), 6 deletions(-)

You need to touch arch/ia64 too. Yeah, it's likely broken but let's not
break it on purpose. :)

Paolo