From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 2/7] KVM: Introduce __KVM_HAVE_IRQCHIP Date: Wed, 17 Apr 2013 13:49:29 +0200 Message-ID: <516E8C49.2040304@redhat.com> References: <1366133175-23986-1-git-send-email-agraf@suse.de> <1366133175-23986-3-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm-ppc@vger.kernel.org, "kvm@vger.kernel.org mailing list" , Scott Wood , Marcelo Tosatti , Gleb Natapov To: Alexander Graf Return-path: Received: from mail-qa0-f47.google.com ([209.85.216.47]:52430 "EHLO mail-qa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966099Ab3DQLtl (ORCPT ); Wed, 17 Apr 2013 07:49:41 -0400 In-Reply-To: <1366133175-23986-3-git-send-email-agraf@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: 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 > --- > 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