Subject: [PATCH v9 5/5] KVM: arm/arm64: add irqfd support

From: [email-masked] (Paolo Bonzini)
Date: Thu, 05 Mar 2015 12:27:42 +0100

On 05/03/2015 11:53, Marc Zyngier wrote:
> > +#ifdef CONFIG_HAVE_KVM_IRQFD
> > +	case KVM_CAP_IRQFD:
> > +		r = vgic_present;
> > +		break;
> > +#endif
> 
> Nitpick: we have "select HAVE_KVM_IRQFD", so we can lose the #ifdef-ery.

Alternatively, I've just posted a patch to move the KVM_CAP_IRQFD case
to common code.

vgic_present probably should be replaced by
IS_ENABLED(CONFIG_KVM_ARM_VGIC).  I've sent a patch for this.

Paolo