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

Alexander Graf
2013-04-17T11:53:06Z

On 17.04.2013, at 13:49, Paolo Bonzini wrote:

> 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. :)

It depends on CONFIG_BROKEN, so I'd rather not touch it.

Alex